chore(main): release 1.4.0 #79
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| pull_request: | |
| paths-ignore: | |
| - '**.md' | |
| - 'LICENSE' | |
| - '.github/FUNDING.yml' | |
| push: | |
| branches: | |
| - main | |
| paths-ignore: | |
| - '**.md' | |
| - 'LICENSE' | |
| - '.github/FUNDING.yml' | |
| jobs: | |
| ci: | |
| name: Shellcheck + Unit Tests | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - name: Install shellcheck and bats | |
| run: sudo apt-get update -qq && sudo apt-get install -y shellcheck bats | |
| - name: Run shellcheck on all scripts | |
| run: | | |
| find . -name "*.sh" -not -path "./.git/*" | sort | xargs shellcheck \ | |
| --severity=warning \ | |
| --exclude=SC2034,SC1091 \ | |
| --shell=bash | |
| - name: Run unit tests | |
| run: bats tests/ |