Skip to content

Bump golangci/golangci-lint-action from 6.1.1 to 6.2.0 #366

Bump golangci/golangci-lint-action from 6.1.1 to 6.2.0

Bump golangci/golangci-lint-action from 6.1.1 to 6.2.0 #366

Workflow file for this run

name: Units tests
on: [push, pull_request]
jobs:
checks:
name: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.2.2
- name: Setup go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
with:
go-version: 1.19
- uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57
with:
path: |
~/go/pkg/mod
~/.cache/go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Run tests
run: go test -v -covermode=count -coverprofile=coverage.out
- name: Convert coverage to lcov
uses: jandelgado/gcov2lcov-action@4e1989767862652e6ca8d3e2e61aabe6d43be28b
- name: Coveralls
uses: coverallsapp/github-action@cfd0633edbd2411b532b808ba7a8b5e04f76d2c8
with:
github-token: ${{ secrets.github_token }}
path-to-lcov: coverage.lcov