/.github/workflows/ci-format-repo.yaml: run go mod tidy before doing other formatting stuff

This commit is contained in:
Dustin Brown
2022-02-01 19:06:09 -08:00
parent 2dc4fd3a7c
commit c97f7cc9f9
+3
View File
@@ -16,6 +16,9 @@ jobs:
- uses: actions/checkout@v2
with:
token: ${{ secrets.REPO_ACCESS_TOKEN || secrets.GITHUB_TOKEN }}
- name: Run go mod tidy
run: go mod tidy
working-directory: ./go
- name: Install goimports
run: go get golang.org/x/tools/cmd/goimports
- name: Format repo and update licenses