Skip to content

bump go version

bump go version #1326

Workflow file for this run

name: build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
strategy:
matrix:
go: [ '1.19.x', '1.20.x', '1.21.x', '1.22.x' ]
platform: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- name: deps
run: make deps
- name: static program analysis
run: |
export PATH=$PATH:$(go env GOPATH)/bin # https://github.com/actions/setup-go/issues/14
echo "PATH: $PATH"
echo "GOPATH: $(go env GOPATH)/bin "
ls -al /home/runner/go/bin
echo "--"
ls -al /opt/hostedtoolcache/go/1.22.2/x64/bin
make fmt-check lint vet
- name: build
run: make build
- name: test
run: make test
- name: coverage
run: bash <(curl -s https://codecov.io/bash)