Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: ci

on: [pull_request] # yamllint disable-line rule:truthy
on:
- pull_request

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull-request.number || github.ref }}
Expand Down Expand Up @@ -50,8 +51,8 @@ jobs:
args: --timeout=10m
- name: yamllint
run: |
apt update && apt install -y yamllint
yamllint -c .yamllint $(find . -path ./vendor -prune -o -type f -regex ".*y[a]ml" -print | tr '\n' ' ')
apt-get update && apt-get install -y yamllint
make yamllint
- name: check-license
run: |
go install github.com/google/[email protected]
Expand Down
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,11 @@ $(BIN)/woke: ; $(info $(M) getting woke $(WOKE_VERSION))
woke: | $(WOKE) ; $(info $(M) running woke...) @ ## Run woke
$Q $(WOKE) -c https://github.com/canonical/Inclusive-naming/raw/main/config.yml

.PHONY: yamlint
YAMLLINT := $(shell find . -path ./vendor -prune -o -type f -regex ".*y[a]ml" -print)
yamllint: | $(BIN) ; $(info $(M) running yamlint…)
yamllint -c .yamllint $(YAMLLINT)

# Misc

.PHONY: clean
Expand Down
Loading