diff options
| author | Andre Ferraz <31141+deferraz@users.noreply.github.com> | 2023-06-08 14:48:08 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-08 13:48:08 -0400 |
| commit | e372237aabfdb422e77b768b41114497c60f332d (patch) | |
| tree | a792c66a51439d0e228297876c8eac59b1554c2b /.github | |
| parent | 49825ec4df76b3d2571515525ac71b83efd30acc (diff) | |
chore: bump go version to 1.20 (#564)
* bump go version to 1.20
Signed-off-by: Andre Ferraz <andre.ferraz@loggi.com>
* change golang version in actions to 1.20
Signed-off-by: Andre Ferraz <andre.ferraz@loggi.com>
* bump golangci-lint-action and setup-go to v3
Signed-off-by: Andre Ferraz <andre.ferraz@loggi.com>
* change actions/checkout to v3
Signed-off-by: Andre Ferraz <andre.ferraz@loggi.com>
* bump golangci-lint-action to v1.52.2
Signed-off-by: Andre Ferraz <andre.ferraz@loggi.com>
* these 3 linters were deprecated in favor of unused
Signed-off-by: Andre Ferraz <andre.ferraz@loggi.com>
* go linter fix
Signed-off-by: Andre Ferraz <andre.ferraz@loggi.com>
---------
Signed-off-by: Andre Ferraz <andre.ferraz@loggi.com>
Co-authored-by: Andre Ferraz <andre.ferraz@loggi.com>
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/ci-tests.yaml | 20 | ||||
| -rw-r--r-- | .github/workflows/codeql-analysis.yml | 2 | ||||
| -rw-r--r-- | .github/workflows/image.yaml | 2 |
3 files changed, 12 insertions, 12 deletions
diff --git a/.github/workflows/ci-tests.yaml b/.github/workflows/ci-tests.yaml index 445b0ba..46abe21 100644 --- a/.github/workflows/ci-tests.yaml +++ b/.github/workflows/ci-tests.yaml @@ -14,11 +14,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup Golang - uses: actions/setup-go@v1 + uses: actions/setup-go@v3 with: - go-version: '1.18' + go-version: '1.20' - name: Download all Go modules run: | go mod download @@ -31,7 +31,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Install Kustomize v2 run: | set -xo pipefail @@ -53,22 +53,22 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Run golangci-lint - uses: golangci/golangci-lint-action@v2 + uses: golangci/golangci-lint-action@v3 with: - version: v1.46.2 + version: v1.52.2 args: --timeout 5m test: name: Ensure unit tests are passing runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup Golang - uses: actions/setup-go@v1 + uses: actions/setup-go@v3 with: - go-version: '1.18' + go-version: '1.20' - name: Run tests env: GNUPG_DISABLED: true diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index b189361..464bba6 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -38,7 +38,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/image.yaml b/.github/workflows/image.yaml index 501406c..4758984 100644 --- a/.github/workflows/image.yaml +++ b/.github/workflows/image.yaml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: path: argocd-image-updater - name: Setup qemu |
