From 81142bcbb8858bc27cd042922679ecce76cc956f Mon Sep 17 00:00:00 2001 From: Andrew Date: Fri, 8 Nov 2024 19:45:22 -0600 Subject: [PATCH] update go to 1.23.3 --- .github/workflows/audit.yml | 9 +++------ .github/workflows/lint.yml | 9 +++------ .tool-versions | 2 +- README.md | 2 +- 4 files changed, 8 insertions(+), 14 deletions(-) diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index 54953f6..955bf11 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -8,16 +8,13 @@ on: # yamllint disable-line rule:truthy jobs: Audit: runs-on: "ubuntu-24.04" - env: - GOPATH: "/home/runner/go" steps: - - run: "echo \"/usr/local/go/bin\" >> \"$GITHUB_PATH\"" - - run: "echo \"${GOPATH}/bin\" >> \"$GITHUB_PATH\"" + - uses: actions/setup-go@v5 + with: + go-version: '1.23.3' - uses: "actions/checkout@v4" - run: "sudo apt-get update" - run: "sudo apt-get install -y curl python3-venv" - - run: "curl -LO https://go.dev/dl/go1.23.2.linux-amd64.tar.gz" - - run: "sudo tar -C /usr/local -xzf go1.23.2.linux-amd64.tar.gz" - run: "curl -LO https://downloads.snyk.io/cli/stable/snyk-linux" - run: "sudo cp snyk-linux /bin/snyk" - run: "sudo chmod a+x /bin/snyk" diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 5ce62ae..92a1165 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -6,17 +6,14 @@ on: # yamllint disable-line rule:truthy jobs: Lint: runs-on: "ubuntu-24.04" - env: - GOPATH: "/home/runner/go" steps: - - run: "echo \"/usr/local/go/bin\" >> \"$GITHUB_PATH\"" - - run: "echo \"${GOPATH}/bin\" >> \"$GITHUB_PATH\"" + - uses: actions/setup-go@v5 + with: + go-version: '1.23.3' - run: "echo \"${HOME}/bin\" >> \"$GITHUB_PATH\"" - uses: "actions/checkout@v4" - run: "sudo apt-get update" - run: "sudo apt-get install -y bash curl python3-venv shellcheck zsh" - - run: "curl -LO https://go.dev/dl/go1.23.2.linux-amd64.tar.gz" - - run: "sudo tar -C /usr/local -xzf go1.23.2.linux-amd64.tar.gz" - run: "mkdir -p \"$HOME/bin\"" - run: "curl -Lo \"$HOME/bin/kirill\" https://raw.githubusercontent.com/mcandre/kirill/v0.0.1/bin/kirill" - run: "chmod +x \"$HOME/bin/kirill\"" diff --git a/.tool-versions b/.tool-versions index fc7fa30..7b897d1 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,2 +1,2 @@ -golang 1.23.2 +golang 1.23.3 python 3.12.1 diff --git a/README.md b/README.md index c7cc279..06b432c 100755 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ BSD-2-Clause * POSIX compatible [grep](https://pubs.opengroup.org/onlinepubs/9699919799/utilities/grep.html) * POSIX compatible [sh](https://pubs.opengroup.org/onlinepubs/9699919799/utilities/sh.html) * [ShellCheck](https://www.shellcheck.net/) 0.10.0+ -* [Go](https://go.dev/) 1.23.2+ +* [Go](https://go.dev/) 1.23.3+ * [kirill](https://github.com/mcandre/kirill) 0.0.1 * [Python](https://www.python.org/) 3.12.1+ * [Snyk](https://snyk.io/)