This repository has been archived by the owner on Jul 16, 2024. It is now read-only.
chore: update README.md #131
Workflow file for this run
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: Code format verify | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
gofmt: | |
name: Run gofmt verify | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: Setup Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version-file: go.work | |
- name: Install dependencies | |
run: | | |
go version | |
go install golang.org/x/lint/golint@latest | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: run gofmt tests | |
run: ./hack/verify-gofmt.sh |