diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index de1e52a..68d5045 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -40,8 +40,8 @@ jobs: version: - "" - "latest" - - "v2.7" - - "v2.7.2" + - "v2.10" + - "v2.10.1" runs-on: ${{ matrix.os }} permissions: contents: read @@ -73,8 +73,8 @@ jobs: version: - "" - "latest" - - "v2.7.2" - - "655e8ede5178280b2a640e185bc4a343aed0f54e" + - "v2.10.1" + - "f8861ca84d805a673945d037bae1559c3567aadc" runs-on: ${{ matrix.os }} permissions: contents: read @@ -135,8 +135,8 @@ jobs: version: - "" - "latest" - - "v2.7" - - "v2.7.2" + - "v2.10" + - "v2.10.1" runs-on: ${{ matrix.os }} permissions: contents: read diff --git a/README.md b/README.md index 4ee5198..f7080ae 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@v9 with: - version: v2.6 + version: v2.10 ``` @@ -94,7 +94,7 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@v9 with: - version: v2.6 + version: v2.10 ``` You will also likely need to add the following `.gitattributes` file to ensure that line endings for Windows builds are properly formatted: @@ -120,7 +120,7 @@ on: env: GO_VERSION: stable - GOLANGCI_LINT_VERSION: v2.6 + GOLANGCI_LINT_VERSION: v2.10 jobs: detect-modules: @@ -179,7 +179,7 @@ jobs: with: os: ${{ matrix.os }} go-version: ${{ matrix.go-version }} - golangci-lint-version: v2.6 + golangci-lint-version: v2.10 ``` ```yaml @@ -201,7 +201,7 @@ on: golangci-lint-version: description: 'Golangci-lint version' type: string - default: 'v2.6' + default: 'v2.10' jobs: detect-modules: @@ -297,7 +297,7 @@ When `install-mode` is: ```yml uses: golangci/golangci-lint-action@v9 with: - version: v2.6 + version: v2.10 # ... ``` diff --git a/fixtures/plugins/.custom-gcl.yml b/fixtures/plugins/.custom-gcl.yml index 3275afe..a492bf2 100644 --- a/fixtures/plugins/.custom-gcl.yml +++ b/fixtures/plugins/.custom-gcl.yml @@ -1,4 +1,4 @@ -version: v2.6.1 +version: v2.10.1 name: custom-golangci-lint #destination: ./zzz/path/