Skip to content

CI: Bump go version used in tests and fix lint errors #32

CI: Bump go version used in tests and fix lint errors

CI: Bump go version used in tests and fix lint errors #32

Workflow file for this run

name: Build and Test
on: [push, pull_request]
jobs:
build:
name: Go CI
runs-on: ubuntu-latest
strategy:
matrix:
go: [1.21, 1.22]
steps:
- name: Check out source
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1
- name: Set up Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 #v5.0.0
with:
go-version: ${{ matrix.go }}
- name: Install Linters
run: "go install github.com/golangci/golangci-lint/cmd/[email protected]"
- name: Build
run: go build ./...
- name: Test
run: sh ./goclean.sh