Skip to content

update to go 1.22 and update deps #76

update to go 1.22 and update deps

update to go 1.22 and update deps #76

Workflow file for this run

name: build
on:
push:
paths:
- '.github/workflows/build.yml'
- '**.go'
- 'go.mod'
- 'go.sum'
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
matrix:
go: [ 'stable' ]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
check-latest: true
- name: Go Format
run: gofmt -s -w . && git diff --exit-code
- name: Go Tidy
run: go mod tidy && git diff --exit-code
- name: Go Mod
run: go mod download
- name: Go Mod Verify
run: go mod verify
- name: Go Build
run: go build -o /dev/null ./...
- name: Run tests
run: make test