Skip to content

Commit

Permalink
Merge pull request #74 from shogo82148/update-examples-in-readme
Browse files Browse the repository at this point in the history
Update examples in readme
  • Loading branch information
shogo82148 committed Apr 29, 2021
2 parents 1a9437c + 2a60433 commit db0dd99
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions README.md
Expand Up @@ -75,7 +75,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v1
uses: actions/checkout@v2

# optionally use a specific version of Go rather than the default one
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.16'

- name: golangci-lint
uses: reviewdog/action-golangci-lint@v1
```
Expand All @@ -96,7 +103,7 @@ jobs:
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:
Expand All @@ -111,7 +118,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v1
uses: actions/checkout@v2
- name: golint
uses: reviewdog/action-golangci-lint@v1
with:
Expand All @@ -125,7 +132,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v1
uses: actions/checkout@v2
- name: errcheck
uses: reviewdog/action-golangci-lint@v1
with:
Expand All @@ -139,7 +146,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v1
uses: actions/checkout@v2

- uses: actions/cache@v2
with:
Expand Down Expand Up @@ -179,7 +186,7 @@ jobs:
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:
Expand Down

0 comments on commit db0dd99

Please sign in to comment.