Skip to content

chore(ci): update depguard config to new format #11

chore(ci): update depguard config to new format

chore(ci): update depguard config to new format #11

Workflow file for this run

---
name: Lint YAML Files
permissions:
contents: read
on:
push:
branches: [main]
paths:
- "**/*.yml"
- "**/*.yaml"
pull_request:
branches: [main]
paths:
- "**/*.yml"
- "**/*.yaml"
workflow_call:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
name: Lint YAML Files
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
fail-fast: true
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Install Go
uses: actions/setup-go@v4
with:
go-version-file: "go.mod"
cache-dependency-path: "go.sum"
- name: Install dependencies
run: "go install github.com/caarlos0/svu@latest"
- name: Run make lint-yaml
run: make lint-yaml