Skip to content

Bump step-security/harden-runner from 2.13.2 to 2.14.0 #37

Bump step-security/harden-runner from 2.13.2 to 2.14.0

Bump step-security/harden-runner from 2.13.2 to 2.14.0 #37

Workflow file for this run

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
name: Unit Tests
permissions: # added using https://github.com/step-security/secure-workflows
contents: read
jobs:
test:
strategy:
matrix:
go-version: [1.23.x, 1.24.x, 1.25.x]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Harden Runner
uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
- name: Install Go
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
- name: Test
run: go test ./...