Skip to content

Bump actions/checkout from 4.1.7 to 4.2.0 in the github-actions group #28

Bump actions/checkout from 4.1.7 to 4.2.0 in the github-actions group

Bump actions/checkout from 4.1.7 to 4.2.0 in the github-actions group #28

Workflow file for this run

name: Go
on:
push:
branches: [ "v3" ]
pull_request:
branches: [ "v3" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- name: Set up Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version: 1.21
- name: Build
run: go build -v ./...
- name: Test
run: go test -race -coverprofile=coverage.txt -covermode=atomic ./...
- name: Codecov
uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0