Skip to content

Update Go to 1.22

Update Go to 1.22 #294

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
test:
name: Go ${{ matrix.go-version }} on Ubuntu
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go-version: [1.22.x]
platform: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Install dependencies
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.54.0
- name: Run test suite
run: make test
- name: Run linter
run: make lint