Skip to content

build(deps): bump the github-actions group with 4 updates #221

build(deps): bump the github-actions group with 4 updates

build(deps): bump the github-actions group with 4 updates #221

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@a5ac7e51b41094c92402da3b24376905380afc29
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7
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