Skip to content

build(deps): bump golangci/golangci-lint-action from 3.7.0 to 4.0.0 (… #209

build(deps): bump golangci/golangci-lint-action from 3.7.0 to 4.0.0 (…

build(deps): bump golangci/golangci-lint-action from 3.7.0 to 4.0.0 (… #209

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@0c52d547c9bc32b1aa3301fd7a9cb496313a4491
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