Fix syntax
This commit is contained in:
parent
101bcc6ecd
commit
4e61c3ea73
2 changed files with 14 additions and 15 deletions
1
.github/workflows/changelog.yml
vendored
1
.github/workflows/changelog.yml
vendored
|
|
@ -10,6 +10,7 @@ jobs:
|
|||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v1
|
||||
|
||||
- name: Pull request merged
|
||||
if: git hub.event.pull_request.merged == true
|
||||
uses: ./.github/actions/changelog
|
||||
|
|
|
|||
28
.github/workflows/go.yml
vendored
28
.github/workflows/go.yml
vendored
|
|
@ -1,25 +1,23 @@
|
|||
name: Go
|
||||
on: [push]
|
||||
jobs:
|
||||
|
||||
build:
|
||||
name: Build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Set up Go 1.13
|
||||
uses: actions/setup-go@v1
|
||||
with:
|
||||
go-version: 1.13
|
||||
id: go
|
||||
|
||||
- name: Set up Go 1.13
|
||||
uses: actions/setup-go@v1
|
||||
with:
|
||||
go-version: 1.13
|
||||
id: go
|
||||
- name: Check out code into the Go module directory
|
||||
uses: actions/checkout@v1
|
||||
|
||||
- name: Check out code into the Go module directory
|
||||
uses: actions/checkout@v1
|
||||
- name: Verify dependencies
|
||||
run: go mod verify
|
||||
|
||||
- name: Verify dependencies
|
||||
run: go mod verify
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
go test ./...
|
||||
go build -v .
|
||||
- name: Build
|
||||
run: |
|
||||
go test ./...
|
||||
go build -v .
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue