Update README and test action to use v1.29 (#56)

This commit is contained in:
Sergey Vilgelm 2020-07-22 22:01:52 -05:00 committed by GitHub
parent c238b72278
commit 294f27a519
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 14 deletions

View File

@ -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

View File

@ -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))
@ -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