Skip to content

webauthn/ci: update lint #236

webauthn/ci: update lint

webauthn/ci: update lint #236

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@692973e3d937129bcbf40652eb9f2f61becf3332
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
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@643bc377ffa44ace6394b2b5d0d3950076de9f63
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage.lcov