Skip to content

ci: implement stepsecurity bp (#91) #296

ci: implement stepsecurity bp (#91)

ci: implement stepsecurity bp (#91) #296

Workflow file for this run

name: Format
on:
pull_request:
branches:
- master
push:
branches:
- master
permissions:
contents: read
jobs:
format:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@0d381219ddf674d61a7572ddd19d7941e271515c # v2.9.0
with:
egress-policy: audit
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0
with:
go-version: 1.21
- run: make format
- name: Indicate formatting issues
run: git diff HEAD --exit-code --color