Skip to content

Fix Go compatibility: go.mod, ioutil deprecations, fmt.Sprint bug, CI… #1

Fix Go compatibility: go.mod, ioutil deprecations, fmt.Sprint bug, CI…

Fix Go compatibility: go.mod, ioutil deprecations, fmt.Sprint bug, CI… #1

Workflow file for this run

name: Go
on: [push, pull_request]
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ['1.21', '1.22', '1.23']
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...
- name: Vet
run: go vet ./...