Skip to content

chore(deps): update actions/checkout action to v4.2.0 #294

chore(deps): update actions/checkout action to v4.2.0

chore(deps): update actions/checkout action to v4.2.0 #294

Workflow file for this run

---
name: Run bootstrap script
on: # yamllint disable-line rule:truthy
push:
branches:
- main
paths-ignore:
- .pre-commit-config.yaml
pull_request:
paths-ignore:
- .pre-commit-config.yaml
jobs:
bootstrap_archlinux:
runs-on: ubuntu-latest
container:
image: archlinux:latest
options: --privileged
steps:
- uses: actions/[email protected]
- run: |
pacman --sync --refresh --noconfirm --sysupgrade python sudo
useradd ansible --create-home
passwd --delete ansible
echo 'ansible ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
sudo --user ansible ./bootstrap.sh
bootstrap_ubuntu:
runs-on: ubuntu-latest
container:
image: ubuntu:latest
options: --privileged
steps:
- uses: actions/[email protected]
- run: |
apt update
apt upgrade --yes
apt install --yes python3 python3-venv python-is-python3 sudo
useradd ansible --create-home
passwd --delete ansible
echo 'ansible ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
sudo --user ansible ./bootstrap.sh