Simplify build workflow
This commit is contained in:
parent
a904537367
commit
f007fa5280
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@ -10,18 +10,12 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Setup Go
|
- uses: actions/checkout@v2
|
||||||
uses: actions/setup-go@v2
|
- uses: actions/setup-go@v2
|
||||||
with:
|
with:
|
||||||
go-version: ${{ matrix.go-version }}
|
go-version: ${{ matrix.go-version }}
|
||||||
id: go
|
id: go
|
||||||
|
|
||||||
- name: Checkout code
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Download dependencies
|
|
||||||
run: go mod download
|
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: go build -v
|
run: go build -v
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user