Skip to content

Bump github.com/golangci/golangci-lint from 1.54.0 to 1.54.1 (#161) #282

Bump github.com/golangci/golangci-lint from 1.54.0 to 1.54.1 (#161)

Bump github.com/golangci/golangci-lint from 1.54.0 to 1.54.1 (#161) #282

Workflow file for this run

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