Skip to content

GH Actions: updated to Go 1.23 #34

GH Actions: updated to Go 1.23

GH Actions: updated to Go 1.23 #34

Workflow file for this run

name: Go
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: '0 12 * * 0'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go: ['1.22.x', '1.23.x']
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: gofmt check
run: diff <(gofmt -d .) <(echo -n "")
- name: Test
run: go test -v ./...