Bump github.com/spf13/cobra from 1.8.0 to 1.8.1 #52
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: Alpha build | |
on: | |
pull_request: | |
types: [ opened, synchronize, reopened ] | |
jobs: | |
build: | |
name: Build binary | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/cache@v4 | |
with: | |
path: ~/go/pkg/mod | |
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | |
restore-keys: | | |
${{ runner.os }}-go- | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '^1.21' | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Install deps | |
run: make deps | |
- name: Test | |
run: make test | |
- name: Build | |
run: make build-all | |
- name: Readme | |
run: cp README.md build/ | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: artifacts | |
path: build |