Skip to content

Commit 1ee8dfd

Browse files
committed
Integration tests
1 parent a8720ae commit 1ee8dfd

File tree

2 files changed

+69
-0
lines changed

2 files changed

+69
-0
lines changed

.github/workflows/lint.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
---
2+
3+
# -------------------------------------------------------------------------------------------------
4+
# Job Name
5+
# -------------------------------------------------------------------------------------------------
6+
name: lint
7+
8+
9+
# -------------------------------------------------------------------------------------------------
10+
# When to run
11+
# -------------------------------------------------------------------------------------------------
12+
on:
13+
# Runs on Pull Requests
14+
pull_request:
15+
16+
17+
# -------------------------------------------------------------------------------------------------
18+
# What to run
19+
# -------------------------------------------------------------------------------------------------
20+
jobs:
21+
# -----------------------------------------------------------------------------------------------
22+
# JOB (1/1): Lint
23+
# -----------------------------------------------------------------------------------------------
24+
lint:
25+
name: lint
26+
runs-on: ubuntu-latest
27+
steps:
28+
29+
- name: "[SETUP] Checkout repository"
30+
uses: actions/checkout@v3
31+
with:
32+
fetch-depth: 0
33+
34+
- name: Lint Files
35+
uses: cytopia/[email protected]
36+
with:
37+
command: |
38+
make -f Makefile.lint lint-files
39+
40+
- name: Lint Yaml
41+
uses: cytopia/[email protected]
42+
with:
43+
command: |
44+
make -f Makefile.lint lint-yaml
45+
46+
- name: Lint JSON
47+
uses: cytopia/[email protected]
48+
with:
49+
command: |
50+
make -f Makefile.lint lint-json
51+
52+
- name: Lint Bash
53+
uses: cytopia/[email protected]
54+
with:
55+
command: |
56+
make -f Makefile.lint lint-bash

.yamllint

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
extends: default
3+
4+
ignore: |
5+
.yamllint
6+
7+
8+
rules:
9+
truthy:
10+
allowed-values: ['true', 'false']
11+
check-keys: False
12+
level: error
13+
line-length: disable

0 commit comments

Comments
 (0)