Skip to content

build(deps): bump actions/checkout in the github-actions group (#108) #239

build(deps): bump actions/checkout in the github-actions group (#108)

build(deps): bump actions/checkout in the github-actions group (#108) #239

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@d632683dd7b4114ad314bca15554477dd762a938
- 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