Skip to content

Commit

Permalink
Add go 1.19 in test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
System-Glitch committed Aug 29, 2022
1 parent 8254fd2 commit 0f76542
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go: [1.17, 1.18]
go: [1.17, 1.18, 1.19]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
Expand All @@ -23,7 +23,7 @@ jobs:
- name: Run tests
run: |
go test -v -race -coverprofile=coverage.txt -covermode=atomic -coverpkg=./... ./...
- if: ${{ matrix.go == 1.18 }}
- if: ${{ matrix.go == 1.19 }}
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: coverage.txt
Expand Down
13 changes: 12 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
module goyave.dev/filter

go 1.16
go 1.17

require (
github.com/stretchr/testify v1.7.0
gorm.io/gorm v1.23.2
goyave.dev/goyave/v4 v4.2.0
)

require (
github.com/Code-Hex/uniseg v0.2.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/imdario/mergo v0.3.12 // indirect
github.com/jinzhu/inflection v1.0.0 // indirect
github.com/jinzhu/now v1.1.4 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
)

0 comments on commit 0f76542

Please sign in to comment.