Skip to content

Update golangci to v1.61 #13

Update golangci to v1.61

Update golangci to v1.61 #13

Workflow file for this run

---
name: Check
on:
push:
branches:
- main
pull_request:
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@v4
- 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@v4
- name: Setup
uses: ./.github/actions/setup
- name: Lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.61
args: --timeout 30m
build:
name: Build
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
- name: Build
uses: goreleaser/goreleaser-action@v6
with:
args: release --skip=publish,sign --snapshot --timeout=60m