Skip to content

Commit

Permalink
Merge branch 'master' into go-1.15
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeylanzman authored Aug 16, 2020
2 parents 796833d + 63feff8 commit 1d6367b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
name: linter

on:
push:
branches:
- master
pull_request:
branches:
- master
name: linter

jobs:
linter:
name: golangci-lint
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v1
uses: actions/checkout@v2
- name: golangci-lint
uses: reviewdog/action-golangci-lint@v1
with:
github_token: ${{ secrets.github_token }}
tool_name: golangci-lint
github_token: ${{ secrets.GITHUB_TOKEN }}
tool_name: golangci-lint
10 changes: 6 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
name: tests

on:
push:
branches:
- master
pull_request:
branches:
- master
name: tests

jobs:
test:
strategy:
Expand All @@ -15,10 +17,10 @@ jobs:
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
uses: actions/setup-go@v1
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
go-version: 1.14
- name: Checkout code
uses: actions/checkout@v2
- name: Test
run: go build -v && go test ./...
run: go build -v && go test ./...

0 comments on commit 1d6367b

Please sign in to comment.