Skip to content

Bump github.com/golangci/golangci-lint from 1.55.2 to 1.61.0 #369

Bump github.com/golangci/golangci-lint from 1.55.2 to 1.61.0

Bump github.com/golangci/golangci-lint from 1.55.2 to 1.61.0 #369

Workflow file for this run

---
on:
pull_request: {}
push:
branches:
- 'main'
tags:
- 'v*'
jobs:
build:
runs-on: 'ubuntu-latest'
steps:
- uses: 'actions/checkout@v4'
- uses: 'actions/setup-go@v5'
- run: 'go build ./...'
generate:
needs: 'build'
runs-on: 'ubuntu-latest'
steps:
- uses: 'actions/checkout@v4'
- uses: 'actions/setup-go@v5'
- run: 'go generate unifi/device.go'
- run: 'git diff --compact-summary --exit-code'
lint:
runs-on: 'ubuntu-latest'
steps:
- uses: 'actions/checkout@v4'
- uses: 'actions/setup-go@v5'
- uses: 'golangci/golangci-lint-action@v3'
with:
skip-pkg-cache: true
test:
needs: 'build'
runs-on: 'ubuntu-latest'
steps:
- uses: 'actions/checkout@v4'
- uses: 'actions/setup-go@v5'
- run: 'go test ./...'
yamllint:
runs-on: 'ubuntu-latest'
steps:
- uses: 'actions/checkout@v4'
- uses: 'ibiqlik/action-yamllint@v3'