Skip to content

Enhance OS classification in entrypoint.sh to support macOS .app.tar.… #3

Enhance OS classification in entrypoint.sh to support macOS .app.tar.…

Enhance OS classification in entrypoint.sh to support macOS .app.tar.… #3

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
permissions:
contents: read
jobs:
shellcheck:
name: ShellCheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run shellcheck
run: shellcheck entrypoint.sh
actionlint:
name: actionlint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install and run actionlint
run: |
bash <(curl -fsSL https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
./actionlint -color
# Keep the copy-paste example workflows valid too.
./actionlint -color examples/*.yml
bats:
name: Unit tests (bats)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install bats
run: npm install -g bats
- name: Run tests
run: bats tests/