From 996e2ac7c58b1ee353137be1a9e69de793cf8a80 Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Sun, 12 Mar 2023 11:35:48 +0100 Subject: [PATCH 1/3] Run tests with Go 1.20 --- .github/workflows/tests.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b35ddb9b9..cc26863e6 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,7 +9,7 @@ on: pull_request: env: - latest_go: "1.19.x" + latest_go: "1.20.x" GO111MODULE: on jobs: @@ -19,27 +19,32 @@ jobs: # list of jobs to run: include: - job_name: Windows - go: 1.19.x + go: 1.20.x os: windows-latest - job_name: macOS - go: 1.19.x + go: 1.20.x os: macOS-latest test_fuse: false - job_name: Linux - go: 1.19.x + go: 1.20.x os: ubuntu-latest test_cloud_backends: true test_fuse: true check_changelog: true - job_name: Linux (race) - go: 1.19.x + go: 1.20.x os: ubuntu-latest test_fuse: true test_opts: "-race" + - job_name: Linux + go: 1.19.x + os: ubuntu-latest + test_fuse: true + - job_name: Linux go: 1.18.x os: ubuntu-latest From c2703e50243dda6b89c23adc04058ff786fe14e9 Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Sun, 12 Mar 2023 12:02:22 +0100 Subject: [PATCH 2/3] Increase timeout for golangci-lint --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index cc26863e6..bf70129d5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -261,7 +261,7 @@ jobs: version: v1.49 # Optional: show only new issues if it's a pull request. The default value is `false`. only-new-issues: true - args: --verbose --timeout 5m + args: --verbose --timeout 10m # only run golangci-lint for pull requests, otherwise ALL hints get # reported. We need to slowly address all issues until we can enable From d83332315c71260a5ef5a319c6335162ac02f700 Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Sun, 12 Mar 2023 12:05:59 +0100 Subject: [PATCH 3/3] Update golangci-lint --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index bf70129d5..6b8819aca 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -258,7 +258,7 @@ jobs: 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.49 + version: v1.51 # Optional: show only new issues if it's a pull request. The default value is `false`. only-new-issues: true args: --verbose --timeout 10m