Skip to content

go1.22->1.21

go1.22->1.21 #126

Workflow file for this run

name: Go
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
- name: Build
run: go build -v
- name: Test
run: go test -v ./...
- name: Self-Format
run: ./go_fmt -rr -d ./...
- name: staticcheck
run: go install honnef.co/go/tools/cmd/staticcheck@latest && staticcheck ./...