build(deps): bump the github-actions group with 5 updates (#109) #241
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
tags: | |
- v* | |
branches: | |
- main | |
- master | |
pull_request: | |
jobs: | |
test: | |
name: Go | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed | |
with: | |
go-version: 1.21.x | |
- name: Run tests | |
run: | | |
go test -race -covermode atomic -coverprofile=coverage.txt ./... | |
- uses: jandelgado/gcov2lcov-action@4e1989767862652e6ca8d3e2e61aabe6d43be28b | |
name: convert coverage to lcov | |
with: | |
infile: coverage.txt | |
outfile: coverage.lcov | |
- name: upload to coveralls | |
uses: coverallsapp/github-action@cfd0633edbd2411b532b808ba7a8b5e04f76d2c8 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
path-to-lcov: coverage.lcov |