Skip to content

Commit

Permalink
feat: update go 1.20 (#267)
Browse files Browse the repository at this point in the history
* feat: update go 1.21

* fix: tests

* fix: windows tests

* feat: use go 1.20
  • Loading branch information
devhaozi authored Aug 18, 2023
1 parent edf7306 commit 0b2d88e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ jobs:
strategy:
matrix:
go:
- "1.18"
- "1.19"
- "1.20"
- "1.21"
runs-on: ubuntu-latest
Expand All @@ -19,16 +17,14 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
- name: Install dependencies 📦
- name: Install dependencies
run: go mod tidy
- name: Run tests
run: go test ./...
windows:
strategy:
matrix:
go:
- "1.18"
- "1.19"
- "1.20"
- "1.21"
runs-on: windows-latest
Expand All @@ -37,7 +33,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
- name: Install dependencies 📦
- name: Install dependencies
run: go mod tidy
- name: Run tests
- name: Run tests
run: go test ./... -short
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/goravel/framework

go 1.18
go 1.20

require (
github.com/RichardKnop/machinery/v2 v2.0.11
Expand Down

0 comments on commit 0b2d88e

Please sign in to comment.