Skip to content

Bump actions/checkout from 4.2.2 to 5.0.1 #453

Bump actions/checkout from 4.2.2 to 5.0.1

Bump actions/checkout from 4.2.2 to 5.0.1 #453

Workflow file for this run

name: Units tests
on: [push, pull_request]
jobs:
checks:
name: test
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Setup go
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00
with:
go-version: 1.25
- uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830
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@e4612787670fc5b5f49026b8c29c5569921de1db
- name: Coveralls
uses: coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b
with:
github-token: ${{ secrets.github_token }}
path-to-lcov: coverage.lcov