chore(deps-dev): bump jest from 30.0.5 to 30.1.3 in /tools #1986
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: | |
push: | |
tags: | |
- v* | |
branches: | |
- main | |
pull_request: | |
jobs: | |
code-health: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 | |
with: | |
go-version-file: go.mod | |
cache: false # see https://github.com/golangci/golangci-lint-action/issues/807 | |
- name: lint | |
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 | |
with: | |
version: v2.1.6 # Also update GOLANGCI_VERSION variable in Makefile when updating this version | |
- name: tests | |
run: make test | |
- name: example-tests | |
run: make test-examples | |
build: | |
needs: code-health # only run if code-health passes | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 | |
with: | |
node-version: 20.x | |
cache: npm | |
cache-dependency-path: ./tools/package-lock.json | |
- working-directory: ./tools | |
run: | | |
npm install | |
npm run ci | |
- run: make install-goimports | |
- working-directory: ./tools | |
run: | | |
export PATH=${PATH}:`go env GOPATH`/bin | |
make clean_and_generate | |
- name: Fail when generate introducing diff | |
run: | | |
git diff --exit-code |