Skip to content

Commit

Permalink
Use go.mod as version source
Browse files Browse the repository at this point in the history
  • Loading branch information
OptimumCode committed Mar 3, 2024
1 parent 73af38c commit 4ad7041
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod

- name: Install protoc
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler && protoc --version
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/vulnerability_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Install govulncheck
run: go install golang.org/x/vuln/cmd/govulncheck@latest
- name: Run check
Expand Down

0 comments on commit 4ad7041

Please sign in to comment.