Skip to content

Update to Go 1.22 (#18) #26

Update to Go 1.22 (#18)

Update to Go 1.22 (#18) #26

Workflow file for this run

name: Go
on:
push:
branches: [ main ]
pull_request:
branches: [ '*' ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go: [ '1.21', '1.22' ]
name: Go ${{ matrix.go }} test
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Get dependencies
run: |
go get -v -t -d ./...
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...