@@ -7,15 +7,16 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
syntax-check:
|
syntax-check:
|
||||||
runs-on: archlinux
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install linting tools
|
- name: Install linting tools
|
||||||
run: |
|
run: |
|
||||||
set -e
|
sudo apt-get update
|
||||||
pacman -Syu --noconfirm --needed shellcheck python-yamllint
|
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: |
|
||||||
|
|||||||
Reference in New Issue
Block a user