Skip to content

[chore] : Bump the actions group with 4 updates #56

[chore] : Bump the actions group with 4 updates

[chore] : Bump the actions group with 4 updates #56

Workflow file for this run

name: Go format check
on:
pull_request:
types: ['opened', 'synchronize']
jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version-file: ./.go-version
- name: Run go format
run: |-
files=$(gofmt -s -l .)
if [ -n "$files" ]; then
echo >&2 "The following file(s) are not gofmt compliant:"
echo >&2 "$files"
exit 1
fi