Skip to content

-P not available in old versions of env #17

-P not available in old versions of env

-P not available in old versions of env #17

Workflow file for this run

name: Test
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version:
- '1.22.x'
steps:
- 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/*