Skip to content

Bump Go version to 1.22 #296

Bump Go version to 1.22

Bump Go version to 1.22 #296

Workflow file for this run

---
name: Build
on:
push:
tags-ignore:
- '**'
branches:
- main
pull_request:
branches:
- main
jobs:
goreleaser:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.22.x
- name: Run GoReleaser Build
uses: goreleaser/goreleaser-action@v6
with:
version: latest
args: build --clean --snapshot
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}