Skip to content

Commit

Permalink
Update README and test action to use v1.29 (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Vilgelm committed Jul 23, 2020
1 parent c238b72 commit 294f27a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,23 @@ on: # rebuild any PRs and main branch changes
push:
branches:
- master
- 'releases/*'
- "releases/*"

jobs:
build: # make sure build/ci work properly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: |
npm install
npm run prepare-deps
npm run all
- uses: actions/checkout@v2
- run: |
npm install
npm run prepare-deps
npm run all
test: # make sure the action works on a clean machine without building
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ./
with:
version: v1.28
args: --issues-exit-code=0 ./sample/...
only-new-issues: true
- uses: actions/checkout@v2
- uses: ./
with:
version: v1.29
args: --issues-exit-code=0 ./sample/...
only-new-issues: true
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The action runs [golangci-lint](https://github.com/golangci/golangci-lint) and r

## Compatibility

* `v2.0.0` works with `golangci-lint` version >= `v1.28.3`
* `v2.0.0+` works with `golangci-lint` version >= `v1.28.3`
* `v1.2.2` is deprecated due to we forgot to change the minimum version of `golangci-lint` to `v1.28.3` ([issue](https://github.com/golangci/golangci-lint-action/issues/39))
* `v1.2.1` works with `golangci-lint` version >= `v1.14.0` ([issue](https://github.com/golangci/golangci-lint-action/issues/39))

Expand All @@ -36,7 +36,7 @@ jobs:
uses: golangci/golangci-lint-action@v1
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.28
version: v1.29

# Optional: working directory, useful for monorepos
# working-directory: somedir
Expand Down

0 comments on commit 294f27a

Please sign in to comment.