Skip to content

Fix dup3 build condition #308

Fix dup3 build condition

Fix dup3 build condition #308

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