-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (35 loc) · 947 Bytes
/
ci-pipeline.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: CI Pipeline
on:
push:
branches:
- master
jobs:
lint_core:
name: 'Lint Ansible'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: 'Install runtimes (asdf)'
uses: asdf-vm/actions/install@v2
- name: 'Install dependencies'
run: make dependencies
- name: 'Lint: Ansible + YAML'
run: make lint
lint_extra:
name: 'Lint extra files'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: 'Stub 1Password CLI (op)'
run: |
echo "exit 0" > /usr/local/bin/op
chmod +x /usr/local/bin/op
- name: 'Superlinter'
uses: github/super-linter@main
env:
VALIDATE_BASH: true
VALIDATE_BASH_EXEC: true
VALIDATE_DOCKERFILE: true
VALIDATE_ENV: true
VALIDATE_MARKDOWN: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}