Skip to content

refactor

refactor #2

Workflow file for this run

name: Main
on: push
jobs:
run-tests:
name: Test and Format Code
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v2
- name: Format Go Code
run: gofmt -s -w .
- name: Run Go Test
run: go test .
- name: Commit linter changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_user_name: LinterBot
commit_message: Linter found style changes