mirror of
https://github.com/nadoo/glider.git
synced 2026-11-19 07:09:42 +08:00
ci: fix issue in github action
This commit is contained in:
1 parent
40aadf3e24
commit
bf8e37c6df
2 files changed
+13
-3
No files matched your search
@@ -6,13 +6,18 @@ jobs:
|
||||
test:
|
||||
name: Test
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
go-version: [ 'tip', '1.16.0-rc1' ]
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: 1.16.0-rc1
|
||||
stable: '!contains(${{ matrix.go-version }}, "beta") && !contains(${{ matrix.go-version }}, "rc")'
|
||||
go-version: ${{ matrix.go-version }}
|
||||
- name: Go Env
|
||||
run: go env
|
||||
- name: Test
|
||||
@@ -22,13 +27,18 @@ jobs:
|
||||
name: Build
|
||||
runs-on: ubuntu-latest
|
||||
needs: [test]
|
||||
strategy:
|
||||
matrix:
|
||||
go-version: [ 'tip', '1.16.0-rc1' ]
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: 1.16.0-rc1
|
||||
stable: '!contains(${{ matrix.go-version }}, "beta") && !contains(${{ matrix.go-version }}, "rc")'
|
||||
go-version: ${{ matrix.go-version }}
|
||||
- name: Go Env
|
||||
run: go env
|
||||
- name: Build
|
||||
|
||||
Reference in new issue
Block a user