mirror of
https://github.com/kataras/iris.git
synced 2025-02-02 07:20:35 +01:00
update github ci
This commit is contained in:
parent
ec2d9d016e
commit
41326d4ddd
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
@ -17,16 +17,16 @@ jobs:
|
|||
|
||||
strategy:
|
||||
matrix:
|
||||
go_version: [1.19.x]
|
||||
go_version: [1.20.x]
|
||||
steps:
|
||||
|
||||
- name: Set up Go 1.x
|
||||
uses: actions/setup-go@v2
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: ${{ matrix.go_version }}
|
||||
|
||||
- name: Check out code into the Go module directory
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Test
|
||||
run: go test -v ./...
|
||||
|
|
|
@ -475,7 +475,7 @@ $ go get github.com/kataras/iris/v12@latest
|
|||
**Run**
|
||||
|
||||
```sh
|
||||
$ go mod tidy -compat=1.19 # -compat="1.19" for windows.
|
||||
$ go mod tidy -compat=1.20 # -compat="1.20" for windows.
|
||||
$ go run .
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user