Merge branch 'main' into main #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Go formatting | |
on: | |
push: | |
branches: [main] | |
paths: | |
- '**.go' | |
jobs: | |
go-formatting: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.21' | |
- name: Run make format | |
run: make format | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v3 | |
with: | |
title: "chore: go formatting" | |
commit-message: "chore: go formatting" | |
body: "" | |
branch: chore/go-formatting |