Skip to content

Bump golang.org/x/crypto from 0.27.0 to 0.31.0 in the go_modules group across 1 directory #148

Bump golang.org/x/crypto from 0.27.0 to 0.31.0 in the go_modules group across 1 directory

Bump golang.org/x/crypto from 0.27.0 to 0.31.0 in the go_modules group across 1 directory #148

Workflow file for this run

name: Go Code Format Check
on:
pull_request:
types: [opened, synchronize]
jobs:
format-check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.23'
- name: Run gofmt to check code formatting
run: |
gofmt -l .
continue-on-error: true
- name: Fail if formatting issues found
run: |
FORMATTED=$(gofmt -l .)
if [ -n "$FORMATTED" ]; then
echo "The following files need to be formatted:"
echo "$FORMATTED"
exit 1
fi