update go #115
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: "Lint" | |
on: # yamllint disable-line rule:truthy | |
push: | |
pull_request: | |
jobs: | |
Lint: | |
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" | |
- run: "echo \"${HOME}/bin\" >> $GITHUB_PATH" | |
- uses: "actions/checkout@v4" | |
- run: "sudo apt-get update" | |
- run: "sudo apt-get install -y bash shellcheck wget zsh" | |
- 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: "mkdir -p $HOME/bin" | |
- run: "wget -O $HOME/bin/kirill https://raw.githubusercontent.com/mcandre/kirill/v0.0.1/bin/kirill" | |
- run: "chmod +x $HOME/bin/kirill" | |
- run: "./install" | |
- run: "./build lint" |