From 825a50d3a25b2e9b7b488d99942fb8d989eff53d Mon Sep 17 00:00:00 2001 From: Fernandez Ludovic Date: Fri, 9 Jun 2023 15:02:04 +0200 Subject: [PATCH] chore: update workflow and doc --- .github/workflows/test.yml | 4 ++-- .gitignore | 3 +++ README.md | 15 +++++++++------ 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5c1d4e6f70..7e7f84c4f5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -52,8 +52,8 @@ jobs: version: - "" - "latest" - - "v1.51" - - "v1.51.2" + - "v1.53" + - "v1.53.2" runs-on: ${{ matrix.os }} permissions: contents: read diff --git a/.gitignore b/.gitignore index 4fde6da638..31fb313bcf 100644 --- a/.gitignore +++ b/.gitignore @@ -97,3 +97,6 @@ typings/ # Text editor files .vscode/ + +# IntelliJ/WebStorm files +.idea diff --git a/README.md b/README.md index 4b3ca130df..710202af42 100644 --- a/README.md +++ b/README.md @@ -41,13 +41,13 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: '1.17' + go-version: '1.20' cache: false - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: - # Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version - version: v1.29 + # Require: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version + version: v1.53 # Optional: working directory, useful for monorepos # working-directory: somedir @@ -89,15 +89,17 @@ on: - master - main pull_request: + permissions: contents: read # Optional: allow read access to pull request. Use with `only-new-issues` option. # pull-requests: read + jobs: golangci: strategy: matrix: - go: [1.17] + go: ['1.20'] os: [macos-latest, windows-latest] name: lint runs-on: ${{ matrix.os }} @@ -110,8 +112,9 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@v3 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.29 + # Require: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version + version: v1.53 + # Optional: working directory, useful for monorepos # working-directory: somedir