Skip to content

Merge pull request #792 from linkedin/go121 #259

Merge pull request #792 from linkedin/go121

Merge pull request #792 from linkedin/go121 #259

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.21.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.51.2
- name: Run test suite
run: make test
- name: Run linter
run: make lint