Skip to content
This repository was archived by the owner on Dec 27, 2024. It is now read-only.

ADHOC: Lint the code, then format it #29

ADHOC: Lint the code, then format it

ADHOC: Lint the code, then format it #29

Workflow file for this run

name: Format Code
on:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: 1.20.6
- name: Format
run: make format
- name: Commit
uses: EndBug/add-and-commit@v9
with:
author_name: github-actions[bot]
author_email: github-actions[bot]@github.com
message: Auto-format commit via GitHub Actions
continue-on-error: true