Skip to content

Bump step-security/harden-runner from 2.13.3 to 2.15.1 (#60) #122

Bump step-security/harden-runner from 2.13.3 to 2.15.1 (#60)

Bump step-security/harden-runner from 2.13.3 to 2.15.1 (#60) #122

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Go
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions: {}
jobs:
build:
permissions:
contents: read # for actions/checkout to fetch code
runs-on: ubuntu-latest
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@58077d3c7e43986b6b15fba718e8ea69e387dfcc # v2.15.1
with:
egress-policy: audit
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Set up Go
uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
with:
go-version-file: './go.mod'
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...