Skip to content

Bump golangci/golangci-lint-action from 8.0.0 to 9.0.0 #169

Bump golangci/golangci-lint-action from 8.0.0 to 9.0.0

Bump golangci/golangci-lint-action from 8.0.0 to 9.0.0 #169

Workflow file for this run

name: Test and coverage
on: [push, pull_request]
permissions: # added using https://github.com/step-security/secure-workflows
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@95d9a5deda9de15063e7595e9719c11c38c90ae2
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
with:
fetch-depth: 2
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00
with:
go-version: '1.20'
- name: Run coverage
run: go test ./... -race -coverprofile=coverage.txt -covermode=atomic
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5.5.1
with:
verbose: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}