Bump actions/setup-go from 5.0.2 to 5.1.0 #195
Workflow file for this run
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: build | |
on: [push, pull_request] | |
jobs: | |
Linux: | |
name: Linux | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go 1.22 | |
uses: actions/[email protected] | |
with: | |
go-version: '1.22' | |
check-latest: true | |
id: go | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v4 | |
- name: Extract branch name | |
run: echo "::set-output name=branch::$(echo ${GITHUB_REF#refs/heads/})" | |
id: extract_branch | |
- name: Add $GOPATH/bin to PATH | |
run: echo "$(go env GOPATH)/bin" >> $GITHUB_PATH | |
id: setup_path | |
- name: Build | |
run: make ci |