Skip to content

Run Gofmt

Run Gofmt #12

Workflow file for this run

name: Gofmt on Push
# Define the name of the run
run-name: Run Gofmt
on:
push:
branches:
- main # Adjust to your branch name if necessary
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.22
- name: Run gofmt
run: gofmt -w .