The runners force actions/checkout@v4 and the artifact actions onto Node 24 already and warn about it on every run. Current majors instead, so the annotation goes away and the pin says what is actually running.
29 lines
676 B
YAML
29 lines
676 B
YAML
name: check
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
check:
|
|
name: syntax and shellcheck
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
|
|
# The Makefile skips whatever is missing rather than failing, so the
|
|
# tools it looks for have to be here or the check checks less than it
|
|
# appears to.
|
|
- name: Install the tools the Makefile looks for
|
|
run: |
|
|
sudo apt-get update -qq
|
|
sudo apt-get install -y --no-install-recommends \
|
|
shellcheck gettext scdoc
|
|
|
|
- run: make check
|
|
|
|
- name: Build the catalogs and the man page
|
|
run: make build
|