Skip to content

Bump Shellbase 0.9.20240202->0.9.20240909 #69

Bump Shellbase 0.9.20240202->0.9.20240909

Bump Shellbase 0.9.20240202->0.9.20240909 #69

Workflow file for this run

---
name: test
'on': push
env:
BASE_REL: 0.9.20240909
BASE_SRC: https://github.com/rdavid/shellbase/archive/refs/tags/v0.9.20240909.tar.gz # yamllint disable-line
jobs:
test-linux:
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-22.04, ubuntu-24.04]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- run: sudo apt-get install asciidoctor
- uses: hadolint/[email protected]
with:
dockerfile: Containerfile
recursive: true
- uses: ludeeus/action-shellcheck@master
with:
additional_files: app/* cfg/*.sh
- uses: mfinelli/setup-shfmt@v3
- run: shfmt -d app/* cfg/*.sh
- uses: crate-ci/typos@master
- uses: errata-ai/vale-action@reviewdog
with:
fail_on_error: true
files: README.adoc
- uses: ibiqlik/action-yamllint@v3
with:
file_or_dir: .github/*.yml .github/workflows/*.yml cfg/*.yml
strict: true
test-macos:
strategy:
matrix:
os: [macos-12, macos-13, macos-14, macos-15]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- run: |
brew install \
asciidoctor \
goredo \
shellcheck \
shfmt \
typos-cli \
vale \
yamllint
curl --location --silent $BASE_SRC |
tar \
--directory /usr/local/bin \
--extract \
--gzip \
--strip-components=2 \
shellbase-$BASE_REL/lib/base.sh
redo -xx