Skip to content

go: bump github.com/stretchr/testify from 1.10.0 to 1.11.1 #161

go: bump github.com/stretchr/testify from 1.10.0 to 1.11.1

go: bump github.com/stretchr/testify from 1.10.0 to 1.11.1 #161

Workflow file for this run

---
name: "Tests: unit"
on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
workflow_dispatch:
jobs:
tests:
name: "Running unit tests"
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # ratchet:actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # ratchet:actions/setup-go@v5
with:
go-version-file: "go.mod"
- name: Run tests with coverage
run: go test -v -coverprofile=coverage.out ./...
- name: Upload coverage reports to Codecov
if: github.ref == 'refs/heads/main'
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # ratchet:codecov/codecov-action@v5
with:
fail_ci_if_error: true
files: ./coverage.out
token: ${{ secrets.CODECOV_TOKEN }}