From 2bdd69470005236d0c5ede964eb3006283f17d08 Mon Sep 17 00:00:00 2001 From: Mohammed Al Sahaf Date: Tue, 7 Feb 2023 11:16:42 +0000 Subject: [PATCH] chore: update Go version in CI (#131) * chore: update Go version in CI * update linter Action version --- .github/workflows/ci.yml | 2 +- .github/workflows/lint.yml | 4 ++-- .github/workflows/release.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5ac9afd..dae3b65 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: fail-fast: false matrix: os: [ ubuntu-latest, macos-latest, windows-latest ] - go: [ '1.17', '1.18' ] + go: [ '1.19', '1.20' ] # Set some variables per OS, usable via ${{ matrix.VAR }} # XCADDY_BIN_PATH: the path to the compiled xcaddy binary, for artifact publishing diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 4fcb58b..4c94a5c 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -17,11 +17,11 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: - go-version: 1.17 + go-version: '~1.20' - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: - version: v1.44 + version: 'latest' # Optional: show only new issues if it's a pull request. The default value is `false`. # only-new-issues: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 31b4ea0..6eae04e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: os: [ ubuntu-latest ] - go: [ '1.18' ] + go: [ '1.20' ] runs-on: ${{ matrix.os }} steps: