mirror of
https://github.com/kataras/iris.git
synced 2025-02-09 02:34:55 +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:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
go_version: [1.19.x]
|
go_version: [1.20.x]
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Set up Go 1.x
|
- name: Set up Go 1.x
|
||||||
uses: actions/setup-go@v2
|
uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: ${{ matrix.go_version }}
|
go-version: ${{ matrix.go_version }}
|
||||||
|
|
||||||
- name: Check out code into the Go module directory
|
- name: Check out code into the Go module directory
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: go test -v ./...
|
run: go test -v ./...
|
||||||
|
|
|
@ -475,7 +475,7 @@ $ go get github.com/kataras/iris/v12@latest
|
||||||
**Run**
|
**Run**
|
||||||
|
|
||||||
```sh
|
```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 .
|
$ go run .
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user