Skip to content

feat: use go 1.22

feat: use go 1.22 #25

Workflow file for this run

name: release
on:
push:
tags:
- "*"
jobs:
release:
name: Goreleaser
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.22"
check-latest: true
- name: Checkout
uses: actions/checkout@v1
- name: Snapcraft Action
uses: samuelmeuli/action-snapcraft@v1.2.0
with:
snapcraft_token: ${{ secrets.SNAPCRAFT_TOKEN }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAP_TOKEN: ${{ secrets.TAP_TOKEN }}