Skip to content

Update golangci-lint-action to v6 #10

Update golangci-lint-action to v6

Update golangci-lint-action to v6 #10

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@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.49
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