Skip to content

delete ubuntu 24 because I already have latest ubuntu #14

delete ubuntu 24 because I already have latest ubuntu

delete ubuntu 24 because I already have latest ubuntu #14

Workflow file for this run

name: Test Dotfiles on Different OS
on:
push:
branches: [ main ]
pull_request:
concurrency:
group: dotfiles-tests-${{ github.ref }}
cancel-in-progress: true
jobs:
dotfiles-test:
name: ${{ matrix.container }}-test
runs-on: ubuntu-latest
continue-on-errors: true

Check failure on line 17 in .github/workflows/test-distros.yaml

View workflow run for this annotation

GitHub Actions / Test Dotfiles on Different OS

Invalid workflow file

The workflow is not valid. .github/workflows/test-distros.yaml (Line: 17, Col: 5): Unexpected value 'continue-on-errors'

Check failure on line 17 in .github/workflows/test-distros.yaml

View workflow run for this annotation

GitHub Actions / Test Dotfiles on Different OS

Invalid workflow file

The workflow is not valid. .github/workflows/test-distros.yaml (Line: 17, Col: 5): Unexpected value 'continue-on-errors'
strategy:
matrix:
container: ["manjarolinux/base:latest", "archlinux:latest", "ubuntu:latest", "ubuntu:20.04", "ubuntu:22.04"]
container:
image: ${{ matrix.container }}
env:
USER: dev
HOME: /home/dev
CHEZMOI_VERBOSE: 1
steps:
- name: Prepare environment
run: |
if command -v apt-get >/dev/null; then
sudo apt-get update
sudo apt-get install -y sudo git curl
if ! command -v chezmoi >/dev/null; then
sh -c "$(curl -fsLS get.chezmoi.io)" -- -b /usr/local/bin
fi
elif command -v pacman >/dev/null; then
if ! command -v sudo > /dev/null; then
pacman -Syu --noconfirm sudo
fi
sudo pacman -Syu --noconfirm git chezmoi
else
exit 1
fi
sudo useradd -m dev || true
echo "dev ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/dev
- name: chezmoi init dotfiles
run: |
sudo -u dev chezmoi init --apply collieiscute -v