Automatically update the controller version (#57)

Create a new GitHub Actions workflow to submit a pull request for new controller versions.
This commit is contained in:
Joshua Spence
2022-03-06 09:42:24 +11:00
committed by GitHub
parent a8ee65a4b5
commit ca31cda3ad
3 changed files with 33 additions and 2 deletions

View File

@@ -42,9 +42,9 @@ jobs:
- uses: "actions/setup-go@v2"
with:
go-version: "${{ env.GO_VERSION }}"
- run: "go get golang.org/x/tools/cmd/stringer"
- run: "go install golang.org/x/tools/cmd/stringer"
- run: "go generate ./..."
- run: "go generate unifi/device.go"
- run: "git diff --compact-summary --exit-code"
lint: