Skip to content

feat(BRIDGE-22): update go version to 1.21, linter, vulnerable module… #531

feat(BRIDGE-22): update go version to 1.21, linter, vulnerable module…

feat(BRIDGE-22): update go version to 1.21, linter, vulnerable module… #531

Workflow file for this run

name: Lint and Test
on: push
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Get sources
uses: actions/checkout@v3
- name: Set up Go 1.21
uses: actions/setup-go@v3
with:
go-version: '1.21'
- name: Run golsangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.57.2
args: --timeout=180s
skip-cache: true
- name: Run tests
run: go test -v ./...
- name: Run tests with race check
run: go test -v -race ./...
- name: Run govulncheck
uses: golang/govulncheck-action@v1
with:
go-version-input: 1.21
go-package: ./...