Skip to content

build(deps): bump step-security/harden-runner from 2.14.0 to 2.15.0 #289

build(deps): bump step-security/harden-runner from 2.14.0 to 2.15.0

build(deps): bump step-security/harden-runner from 2.14.0 to 2.15.0 #289

Workflow file for this run

on: [push, pull_request]
name: Unit Tests
permissions: # added using https://github.com/step-security/secure-workflows
contents: read
jobs:
test:
strategy:
matrix:
go-version: [1.20.x, 1.21.x, 1.22.x, 1.23.x]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Harden Runner
uses: step-security/harden-runner@a90bcbc6539c36a85cdfeb73f7e2f433735f215b
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
- name: Install Go
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
- name: Test
run: go test ./...