Skip to content

Commit

Permalink
go version update to 1.20
Browse files Browse the repository at this point in the history
Signed-off-by: Navid Yaghoobi <[email protected]>
  • Loading branch information
navidys committed Jan 27, 2024
1 parent 75c6e4e commit 691693f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
runs-on: ubuntu-latest
steps:

- name: Set up Go 1.18
- name: Set up Go 1.20
uses: actions/setup-go@v1
with:
go-version: 1.18
go-version: 1.20
id: go

- name: Check out code into the Go module directory
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
steps:
- uses: actions/setup-go@v3
with:
go-version: '1.18.8'
go-version: '1.20'
- uses: actions/checkout@v3
- run: |
go mod tidy
Expand All @@ -60,7 +60,7 @@ jobs:
steps:
- uses: actions/setup-go@v3
with:
go-version: '1.18.8'
go-version: '1.20'
- uses: actions/checkout@v3
- run: |
dnf -y install make gcc glib2-devel glibc-static golang
Expand All @@ -72,10 +72,10 @@ jobs:
name: Unit test
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.18
- name: Set up Go 1.20
uses: actions/setup-go@v1
with:
go-version: 1.18
go-version: 1.20
id: go

- name: Check out code into the Go module directory
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/navidys/gopensky

go 1.18
go 1.20

require (
github.com/h2non/gock v1.2.0
Expand Down

0 comments on commit 691693f

Please sign in to comment.