Skip to content

Bump golangci/golangci-lint-action from 3 to 6 (#209) #399

Bump golangci/golangci-lint-action from 3 to 6 (#209)

Bump golangci/golangci-lint-action from 3 to 6 (#209) #399

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@v6'
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'