Skip to content

Bump golangci/golangci-lint-action from 6.1.0 to 6.1.1 #88

Bump golangci/golangci-lint-action from 6.1.0 to 6.1.1

Bump golangci/golangci-lint-action from 6.1.0 to 6.1.1 #88

Workflow file for this run

name: Tests
on:
push:
branches: [master]
pull_request:
types: [opened, reopened]
branches: [master]
permissions: read-all
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
go-version: [1.21, 1.22]
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version: ${{ matrix.go-version }}
cache: false
- name: Test
run: go test -race -coverprofile=coverage.txt -covermode=atomic
- name: Upload coverage to Codecov
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
- name: Golangci-lint
uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1