Skip to content

Commit

Permalink
fix: put setup-go after checkout
Browse files Browse the repository at this point in the history
Signed-off-by: kvanzuijlen <[email protected]>
  • Loading branch information
kvanzuijlen committed Apr 23, 2024
1 parent bcfb57d commit 1de7020
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 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@v5
with:
go-version-file: go.mod
id: go

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

- name: Make CI
run: make ci

Expand Down
6 changes: 3 additions & 3 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@v5
with:
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 1de7020

Please sign in to comment.