Prototype for a new way to handle performance data #283
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: Go | |
on: | |
push: | |
tags: | |
- v* | |
branches: [ master ] | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v4 | |
- name: Vet | |
run: go vet ./... | |
- name: Test | |
run: go test -v ./... | |
- name: Run goreleaser in release mode | |
if: success() && startsWith(github.ref, 'refs/tags/v') | |
uses: goreleaser/goreleaser-action@v5 | |
with: | |
version: latest | |
args: release --rm-dist | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |