Skip to content

webauthn/ci: upgrade golangci-lint #198

webauthn/ci: upgrade golangci-lint

webauthn/ci: upgrade golangci-lint #198

Workflow file for this run

name: Test
on:
push:
tags:
- v*
branches:
- main
- master
pull_request:
jobs:
test:
name: Go
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe
with:
go-version: 1.21.x
- name: Run tests
run: |
go test -race -covermode atomic -coverprofile=coverage.txt ./...
- uses: jandelgado/gcov2lcov-action@c680c0f7c7442485f1749eb2a13e54a686e76eb5
name: convert coverage to lcov
with:
infile: coverage.txt
outfile: coverage.lcov
- name: upload to coveralls
uses: coverallsapp/github-action@3dfc5567390f6fa9267c0ee9c251e4c8c3f18949
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage.lcov