fix(deps): update all non-major dependencies #210
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
on: [push, pull_request] | |
name: test and build | |
env: | |
GO_VERSION: "1.18" | |
jobs: | |
coverage: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Install Go | |
if: success() | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Calc coverage | |
run: | | |
export PATH=$PATH:$(go env GOPATH)/bin | |
go test -v -covermode=count -coverprofile=coverage.out -run ^Test_ | |
- name: Convert coverage to lcov | |
uses: jandelgado/gcov2lcov-action@v1.0.9 | |
with: | |
infile: coverage.out | |
outfile: coverage.lcov | |
- name: Coveralls | |
uses: coverallsapp/github-action@v2.2.3 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
path-to-lcov: coverage.lcov |