Skip to content

Bump step-security/harden-runner from 2.2.1 to 2.3.0 (#40) #114

Bump step-security/harden-runner from 2.2.1 to 2.3.0 (#40)

Bump step-security/harden-runner from 2.2.1 to 2.3.0 (#40) #114

Workflow file for this run

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