update go #147
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: "Audit" | |
on: # yamllint disable-line rule:truthy | |
push: | |
pull_request: | |
schedule: | |
- cron: "0 0 * * 1" | |
jobs: | |
Audit: | |
runs-on: "ubuntu-22.04" | |
env: | |
GOPATH: "/home/runner/go" | |
steps: | |
- run: "echo \"/usr/local/go/bin\" >> $GITHUB_PATH" | |
- run: "echo \"${GOPATH}/bin\" >> $GITHUB_PATH" | |
- uses: "actions/checkout@v4" | |
- run: "sudo apt-get update" | |
- run: "sudo apt-get install -y wget" | |
- run: "wget https://go.dev/dl/go1.23.0.linux-amd64.tar.gz" | |
- run: "sudo tar -C /usr/local -xzf go1.23.0.linux-amd64.tar.gz" | |
- run: "./install" | |
# | |
# Debian-based Ubuntu GitHub Actions base OS is | |
# expected to present unresolvable CVE's. | |
# | |
# Disabling (GitHub Actions Hosted) safety runner step for now. | |
# Care when merging pull requests. | |
# In any case, all CI/CD jobs can be peformed locally. | |
# | |
# - run: "./build audit" |