Fix setup-go in generate workflow (#112)

* Update generate.yaml

* Update generate.yaml
This commit is contained in:
Joshua Spence
2023-03-04 13:17:13 +11:00
committed by GitHub
parent dd2fd56a6f
commit 57fb86b68c

View File

@@ -8,12 +8,11 @@ jobs:
fields: fields:
runs-on: "ubuntu-latest" runs-on: "ubuntu-latest"
steps: steps:
- uses: "actions/checkout@v3.3.0"
- uses: "actions/setup-go@v3" - uses: "actions/setup-go@v3"
with: with:
cache: true cache: true
- uses: "actions/checkout@v3.3.0"
# TODO: Automatically merge the PR if tests pass. # TODO: Automatically merge the PR if tests pass.
- run: "go generate unifi/fields.go" - run: "go generate unifi/fields.go"
- uses: "peter-evans/create-pull-request@v4" - uses: "peter-evans/create-pull-request@v4"