refactor: use ubuntu-latest runner for better compatibility
Some checks failed
Bash Syntax Check / syntax-check (push) Failing after 2s
Some checks failed
Bash Syntax Check / syntax-check (push) Failing after 2s
This commit is contained in:
@@ -19,7 +19,7 @@ on:
|
||||
|
||||
jobs:
|
||||
syntax-check:
|
||||
runs-on: linux,x86_64,docker
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
run: |
|
||||
@@ -31,11 +31,7 @@ jobs:
|
||||
- name: Install shellcheck
|
||||
run: |
|
||||
echo "Installing shellcheck..."
|
||||
if command -v apk >/dev/null 2>&1; then
|
||||
apk add --no-cache shellcheck
|
||||
elif command -v apt-get >/dev/null 2>&1; then
|
||||
apt-get update && apt-get install -y shellcheck
|
||||
fi
|
||||
sudo apt-get update && sudo apt-get install -y shellcheck
|
||||
echo "✓ shellcheck installed"
|
||||
|
||||
- name: Run bash syntax check
|
||||
|
||||
Reference in New Issue
Block a user