Skip to content

bump go version

bump go version #56

Workflow file for this run

name: test
on:
push:
branches:
- main
paths-ignore:
- 'README.md'
- '.github/**'
pull_request:
paths-ignore:
- 'README.md'
jobs:
test:
strategy:
matrix:
go-version: [1.20.x, 1.21.x]
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v4
- name: Build
run: make build
- uses: dominikh/[email protected]
name: staticcheck
with:
version: "2022.1.3"
install-go: false
- name: Test
run: make test