Skip to content

⬆️ gha: Bump the github-actions group across 1 directory with 12 updates #28

⬆️ gha: Bump the github-actions group across 1 directory with 12 updates

⬆️ gha: Bump the github-actions group across 1 directory with 12 updates #28

Workflow file for this run

name: Test
on:
push:
branches: [main]
pull_request:
branches: [main]
types: [opened, synchronize, reopened]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
with:
go-version-file: go.mod
cache: true
- shell: bash
run: |
go install github.com/jstemmer/go-junit-report@latest
go test -race -v ./... 2>&1 | tee report.txt || true
go-junit-report -set-exit-code < report.txt > report.xml
- uses: test-summary/action@31493c76ec9e7aa675f1585d3ed6f1da69269a86 # v2.4
with:
paths: report.xml
if: always()