Bump reviewdog/action-shellcheck from 1.20.0 to 1.21.0 #70
This file contains 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: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- README.md | |
pull_request: | |
branches: | |
- main | |
paths-ignore: | |
- README.md | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
permissions: | |
checks: write | |
statuses: write | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Check code style | |
uses: reviewdog/[email protected] | |
- name: Run static analysis | |
uses: reviewdog/[email protected] | |
- name: Run tests | |
run: | | |
# workaround for https://github.com/actions/runner-images/issues/9644 | |
mkdir ~/.npm-global | |
npm config set prefix '~/.npm-global' | |
export PATH=~/.npm-global/bin:$PATH | |
npm install -g [email protected] | |
bats --report-formatter junit . completion/bash | |
- name: Create test report | |
uses: dorny/[email protected] | |
if: always() | |
with: | |
name: Test report | |
path: report.xml | |
reporter: java-junit |