From e064f4d72354cb05a83a3b2e4ab2da2b9b75a731 Mon Sep 17 00:00:00 2001 From: Alex Aperis Date: Thu, 7 Mar 2024 17:25:22 +0100 Subject: [PATCH] update actions to go 1.21 --- .github/workflows/golint.yaml | 3 +-- .github/workflows/integration.yml | 2 +- .github/workflows/test.yml | 2 +- README.md | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/golint.yaml b/.github/workflows/golint.yaml index a08f3458..fe8164fb 100644 --- a/.github/workflows/golint.yaml +++ b/.github/workflows/golint.yaml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go-version: ["1.20"] + go-version: ["1.21"] steps: - name: Check out code into the Go module directory @@ -20,5 +20,4 @@ jobs: - name: Run golangci-lint uses: golangci/golangci-lint-action@v4.0.0 with: - version: v1.51.2 args: -E bodyclose,gocritic,gofmt,gosec,govet,nestif,nlreturn,revive,rowserrcheck --exclude G401,G501,G107,G307 diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index db9807bc..106e5162 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -11,7 +11,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: '1.20' + go-version: '1.21' - name: Set up Python uses: actions/setup-python@v5 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 88afb771..5acb1b65 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,7 +9,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - go-version: ["1.20"] + go-version: ["1.21"] os: - ubuntu-latest - windows-latest diff --git a/README.md b/README.md index 7879c08a..b86f0c81 100644 --- a/README.md +++ b/README.md @@ -235,7 +235,7 @@ You can get the current version of the sda-cli by running: This section contains the information required to install, modify and run the `sda-cli` tool. ## Requirements -The `sda-cli` is written in golang. In order to be able to modify, build and run the tool, golang (>= 1.20) needs to be installed. The instructions for installing `go` can be found [here](https://go.dev/doc/install). +The `sda-cli` is written in golang. In order to be able to modify, build and run the tool, golang (>= 1.21) needs to be installed. The instructions for installing `go` can be found [here](https://go.dev/doc/install). ## Build tool To build the `sda-cli` tool run the following command from the root folder of the repository