From 294f27a51992abf99e38c976406dbb2ac908a17c Mon Sep 17 00:00:00 2001 From: Sergey Vilgelm Date: Wed, 22 Jul 2020 22:01:52 -0500 Subject: [PATCH] Update README and test action to use v1.29 (#56) --- .github/workflows/test.yml | 24 ++++++++++++------------ README.md | 4 ++-- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9887f846af..6293d83629 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 diff --git a/README.md b/README.md index a4c6cb522b..8adee79bc6 100644 --- a/README.md +++ b/README.md @@ -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