Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: update workflow to work on ci and fix tool installs #26

Merged
merged 4 commits into from
Oct 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions .github/workflows/generator.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Client Generator

on: [push]
on: [push, pull_request]

permissions:
contents: read


jobs:
build:
Expand Down Expand Up @@ -47,8 +51,8 @@ jobs:
- run: go vet ./...
- run: |
# unparam does not seem to have releases. Using `latest` sounds risky.
go get mvdan.cc/unparam@57a3b4290ba3724102fdbbe72314f2b782d4bef5
go run mvdan.cc/unparam ./...
go install mvdan.cc/unparam@57a3b4290ba3724102fdbbe72314f2b782d4bef5
unparam ./...
- name: Run `staticcheck`
uses: dominikh/[email protected]
with:
Expand Down Expand Up @@ -77,5 +81,5 @@ jobs:
- name: Display Go version
run: go version
- run: |
go get golang.org/x/vuln/cmd/[email protected]
go run golang.org/x/vuln/cmd/govulncheck ./...
go install golang.org/x/vuln/cmd/[email protected]
govulncheck ./...
Loading