Skip to content

wip

wip #18

Workflow file for this run

name: Test
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version:
- '1.22.x'
steps:
- run: echo ${{ github.ref }}
- uses: actions/checkout@v4
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- run: go test
- run: make dist
if: startsWith(github.ref, 'refs/tags/') && github.ref == 'refs/heads/main'
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/') && github.ref == 'refs/heads/main'
with:
files: dist/*