Merge pull request #5760 from adamkpickering/5756-fix-restore-after-f… #2210
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: Test | |
on: | |
push: {} | |
pull_request: {} | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '16.x' | |
cache: yarn | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: '^1.21' | |
cache-dependency-path: src/go/**/go.sum | |
- run: yarn install --frozen-lockfile | |
- run: yarn build | |
- run: yarn lint:nofix | |
- name: Install shfmt | |
run: go install mvdan.cc/sh/v3/cmd/[email protected] | |
- run: make -C bats lint | |
- run: yarn test |