Skip to content

Update to goreleaser v2 #8

Update to goreleaser v2

Update to goreleaser v2 #8

Workflow file for this run

---
name: Check
on:
push:
branches:
- '**'
jobs:
test:
name: Test (${{ matrix.os_name }})
runs-on: ${{ matrix.os }}
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
include:
- os: ubuntu-latest
os_name: Linux
- os: macos-latest
os_name: macOS
- os: windows-latest
os_name: Windows
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup
uses: ./.github/actions/setup
- name: Test
run: make test
lint:
name: Lint
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup
uses: ./.github/actions/setup
- name: Lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.49
args: --timeout 30m
build:
name: Build
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup
uses: ./.github/actions/setup
- name: Build
uses: goreleaser/goreleaser-action@v6
with:
args: release --skip-publish --skip-sign --snapshot --timeout=60m