Skip to content

Commit

Permalink
Introduce CI support for build checks.
Browse files Browse the repository at this point in the history
Leverage GitHub Actions to run some build checks on each new
change.  Currently this runs ShellCheck on the Wifibox script,
but it could be extended over time.
  • Loading branch information
pgj committed Sep 28, 2024
1 parent c18fead commit d62f500
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Build Checks
on: [push]

jobs:
checks:
runs-on: ubuntu-latest
name: Sanity check CI job
steps:
- uses: actions/checkout@v4
- name: ShellCheck results
id: shellcheck
uses: vmactions/freebsd-vm@v1
with:
usesh: true
prepare: |
pkg install -y hs-ShellCheck
run: |
make VERSION=9.9.9 shellcheck

0 comments on commit d62f500

Please sign in to comment.