Update dependency @types/node to v22 #2467
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-go | |
on: | |
push: | |
branches: | |
- main | |
- renovate/** | |
pull_request: | |
branches: | |
- main | |
workflow_call: | |
jobs: | |
test: | |
strategy: | |
matrix: | |
go-version: ["1.17.x", "1.18.x"] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: lint | |
working-directory: go | |
run: gofmt -w . | |
- name: Run go vet | |
working-directory: go | |
run: go vet ./... | |
- name: Run go test | |
working-directory: go | |
run: make test |