Fix syntax-check: use ubuntu-latest without container for linting
Syntax Check / syntax-check (push) Failing after 2s

This commit is contained in:
2026-09-14 15:58:39 +10:00
parent 08e114611d
commit 1d918e8971
+3 -7
View File
@@ -8,19 +8,15 @@ on:
jobs: jobs:
syntax-check: syntax-check:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container:
image: archlinux:latest
steps: steps:
- name: Install prerequisites
run: |
pacman -Syu --noconfirm --needed git base-devel nodejs npm
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Install linting tools - name: Install linting tools
run: | run: |
pacman -Syu --noconfirm --needed shellcheck python-yamllint sudo apt-get update
sudo apt-get install -y shellcheck
pip install --break-system-packages yamllint
- name: Lint shell scripts with ShellCheck - name: Lint shell scripts with ShellCheck
run: | run: |