Skip to content

Update Go version to 1.21 in GitHub workflow #24

Update Go version to 1.21 in GitHub workflow

Update Go version to 1.21 in GitHub workflow #24

Workflow file for this run

name: Lint
on: [ push ]
jobs:
gotest:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.21
- uses: actions/checkout@v3
- name: go build
run: go test -v ./...
golangci:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.21
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest