Skip to content

Bump actions/setup-go from 4 to 5 #49

Bump actions/setup-go from 4 to 5

Bump actions/setup-go from 4 to 5 #49

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@v5
with:
go-version: "1.20"
- uses: actions/checkout@v4
- 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@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- run: go test -race ./...
- run: go test -bench=. ./...