Skip to content

Commit

Permalink
ci: use latest go version
Browse files Browse the repository at this point in the history
  • Loading branch information
aldy505 committed May 29, 2024
1 parent c485d9b commit 2772c5d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,14 @@ jobs:
name: CI
runs-on: ubuntu-latest
timeout-minutes: 15
container: golang:1.21
steps:
- name: Checkout code
uses: actions/checkout@v4

- uses: actions/setup-go@v5
with:
go-version: '1.22'

- name: Build
run: go build -buildvcs=false .

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,14 @@ jobs:
name: CI
runs-on: ubuntu-latest
timeout-minutes: 15
container: golang:1.21
steps:
- name: Checkout code
uses: actions/checkout@v4

- uses: actions/setup-go@v5
with:
go-version: '1.22'

- name: Build
run: go build -buildvcs=false .

Expand Down

0 comments on commit 2772c5d

Please sign in to comment.