Some checks are pending
Docs Deploy / build_and_deploy (push) Waiting to run
Generate Docs / cli (push) Waiting to run
Generate Config Doc / cli (push) Waiting to run
Go formatting / go-formatting (push) Waiting to run
Check links / markdown-link-check (push) Waiting to run
Integration / pre-test (push) Waiting to run
Integration / test on (push) Blocked by required conditions
Integration / status (push) Blocked by required conditions
Lint / Lint Go code (push) Waiting to run
Test / test (ubuntu-latest) (push) Waiting to run
29 lines
611 B
YAML
29 lines
611 B
YAML
name: Go formatting
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
paths:
|
|
- '**.go'
|
|
|
|
jobs:
|
|
go-formatting:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install Go
|
|
uses: actions/setup-go@v5
|
|
with:
|
|
go-version: 'stable'
|
|
|
|
- name: Run make format
|
|
run: make format
|
|
|
|
- name: Create Pull Request
|
|
uses: peter-evans/create-pull-request@v7
|
|
with:
|
|
title: "chore: go formatting"
|
|
commit-message: "chore: go formatting"
|
|
body: ""
|
|
branch: chore/go-formatting
|