Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
04a45a7765 |
@@ -88,6 +88,16 @@ jobs:
|
||||
os: [ubuntu-latest, macos-14]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: shellcheck install.sh test_install.sh
|
||||
- name: Lint the installer
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
run: |
|
||||
# GitHub's hosted image ships shellcheck. The act image Gitea's
|
||||
# `ubuntu-latest` maps to (catthehacker/ubuntu:act-22.04) does not, so
|
||||
# bare `shellcheck` was a step that passed on one forge and failed on
|
||||
# the other — the exact forge-dependent break this file's own header
|
||||
# comment exists to avoid.
|
||||
if ! command -v shellcheck >/dev/null; then
|
||||
sudo apt-get update -qq && sudo apt-get install -y -qq shellcheck
|
||||
fi
|
||||
shellcheck install.sh test_install.sh
|
||||
- run: ./test_install.sh
|
||||
Reference in new issue
Block a user