Skip to content

feat: switch to WASM modules (#2) #1

feat: switch to WASM modules (#2)

feat: switch to WASM modules (#2) #1

Workflow file for this run

on:
push:
tags:
- '*'
name: release
jobs:
release:
runs-on: ubuntu-latest
env:
GO_VERSION: "1.21"
steps:
- name: Install Go
if: success()
uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}
- name: Checkout code
uses: actions/checkout@v4
- name: Cache Go modules
uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}