mirror of
https://github.com/nadoo/glider.git
synced 2025-02-23 01:15:41 +08:00
ci: fix issue in github action
This commit is contained in:
parent
40aadf3e24
commit
bf8e37c6df
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
@ -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
|
||||
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -16,7 +16,7 @@ jobs:
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: 1.16.0-rc1
|
||||
go-version: 1.16.x
|
||||
- name: Go Env
|
||||
run: go env
|
||||
- name: Run GoReleaser
|
||||
|
Loading…
Reference in New Issue
Block a user