Skip to content

Upgrade to Go 1.21

Upgrade to Go 1.21 #70

Workflow file for this run

name: Build
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: '0 8 * * 1' # run "At 8:00 on Monday"
jobs:
run:
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
fail-fast: true
matrix:
go: ['stable', 'oldstable']
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
check-latest: true
- run: go mod tidy && git diff --exit-code
- run: go mod download
- run: go mod verify
- run: go build -o /dev/null ./...