Skip to content

Commit

Permalink
Update Go version (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
westy92 committed Mar 1, 2023
1 parent a679c8d commit 9245e53
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]
# last 2 major versions are supported
# https://go.dev/doc/devel/release#policy
go-version: [1.18, 1.19]
go-version: ['1.19', '1.20']

steps:
- uses: actions/checkout@v3
Expand All @@ -28,5 +28,5 @@ jobs:
run: go test -v -race ./... -covermode atomic -coverprofile coverage.out

- name: Upload coverage to Codecov
if: ${{ matrix.go-version == '1.19' && matrix.os == 'ubuntu-latest' }}
if: ${{ matrix.go-version == '1.20' && matrix.os == 'ubuntu-latest' }}
uses: codecov/codecov-action@v3
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/westy92/holiday-event-api-go

go 1.18
go 1.19

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

0 comments on commit 9245e53

Please sign in to comment.