Skip to content

Hide more fields and vars #45

Hide more fields and vars

Hide more fields and vars #45

Workflow file for this run

name: ci
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
golangci:
name: golangci-lint
permissions:
contents: read
pull-requests: read
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/setup-go@v4
with:
go-version: "1.20"
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
args: --timeout=5m
build:
runs-on: ubuntu-latest
strategy:
matrix:
go: ["1.20"]
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
- run: go test -race ./...
- run: go test -bench=. ./...