Skip to content

Merge pull request #1 from felipeog/workflows #1

Merge pull request #1 from felipeog/workflows

Merge pull request #1 from felipeog/workflows #1

Workflow file for this run

name: Push to main
on:
push:
branches:
- main
jobs:
format:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.23.1"
- name: Format
run: |
cd practice/exercism
go fmt ./...
- name: Commit changes
run: |
git config user.name github-actions
git config user.email github-actions@github.com
git add .
git commit -m "format" || exit 0
git push