Implement shortcuts on uninstall #17
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: | |
tags: [v**] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.22.x | |
- name: setup scoop | |
uses: MinoruSekine/setup-scoop@v3 | |
with: | |
buckets: main extras | |
- name: Run tests | |
shell: bash | |
run: | | |
go test -v -race -covermode=atomic ./... | |
- name: Build artifact | |
shell: bash | |
# We try to make the build as reproducible as possible. We even omit | |
# versioning information, as this should be available via the manifest | |
# either way. | |
run: | | |
go build -buildvcs=false -trimpath -ldflags "-w -s -buildid=" -o spoon.exe ./cmd/spoon | |
- name: Upload build artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: spoon.exe | |
path: spoon.exe | |