Skip to content

Commit

Permalink
Use go-version-file in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
cartermckinnon authored and hakman committed May 17, 2024
1 parent 68cbc26 commit c0d15a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,8 @@ jobs:
- id: govulncheck
uses: golang/govulncheck-action@v1
with:
go-version-input: 1.22.2
go-version-file: go.mod
- id: govulncheck-tests-e2e
uses: golang/govulncheck-action@v1
with:
go-version-input: 1.22.2
go-version-file: tests/e2e/go.mod
5 changes: 2 additions & 3 deletions .github/workflows/update-deps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491
with:
go-version: '1.22.2'
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
go-version-file: go.mod
- name: Update Dependencies
id: update_deps
run: |
Expand All @@ -45,4 +45,3 @@ jobs:
release-note-none
body: |
Updating go.mod with latest dependencies.

0 comments on commit c0d15a0

Please sign in to comment.