Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

🎁 Auto-install golangci-lint (#44) #140

🎁 Auto-install golangci-lint (#44)

🎁 Auto-install golangci-lint (#44) #140

Workflow file for this run

name: Lints
on:
push:
tags:
- v*
branches:
- master
pull_request:
env:
FORCE_COLOR: true
jobs:
golangci:
name: Golangci
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.21'
cache: false
- uses: golangci/golangci-lint-action@v4
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.55.2
editorconfig:
name: EditorConfig
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: snow-actions/eclint@v1.0.1
with:
args: check