Fix syntax-check: use ubuntu-latest without container for linting
This commit is contained in:
@@ -8,19 +8,15 @@ on:
|
||||
jobs:
|
||||
syntax-check:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: archlinux:latest
|
||||
steps:
|
||||
- name: Install prerequisites
|
||||
run: |
|
||||
pacman -Syu --noconfirm --needed git base-devel nodejs npm
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install linting tools
|
||||
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
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user