Skip to content

Commit

Permalink
Merge pull request #181 from kvanzuijlen/use-gomod-version-file
Browse files Browse the repository at this point in the history
chore: use go-version-file instead of specifying version
  • Loading branch information
sseago authored Oct 28, 2024
2 parents 5c34921 + 1de7020 commit ad08d1e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ jobs:
runs-on: ubuntu-latest
steps:

- name: Check out the code
uses: actions/checkout@v2

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

- name: Check out the code
uses: actions/checkout@v2

- name: Make CI
run: make ci

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ jobs:
runs-on: ubuntu-latest
steps:

- name: Check out code into the Go module directory
uses: actions/checkout@v3

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

- name: Check out code into the Go module directory
uses: actions/checkout@v3

# Fix issue of setup-gcloud
- run: |
sudo apt-get install python2.7
Expand Down

0 comments on commit ad08d1e

Please sign in to comment.