Skip to content

Commit

Permalink
Integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cytopia committed Oct 24, 2022
1 parent a8720ae commit 1ee8dfd
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 0 deletions.
56 changes: 56 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
---

# -------------------------------------------------------------------------------------------------
# Job Name
# -------------------------------------------------------------------------------------------------
name: lint


# -------------------------------------------------------------------------------------------------
# When to run
# -------------------------------------------------------------------------------------------------
on:
# Runs on Pull Requests
pull_request:


# -------------------------------------------------------------------------------------------------
# What to run
# -------------------------------------------------------------------------------------------------
jobs:
# -----------------------------------------------------------------------------------------------
# JOB (1/1): Lint
# -----------------------------------------------------------------------------------------------
lint:
name: lint
runs-on: ubuntu-latest
steps:

- name: "[SETUP] Checkout repository"
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Lint Files
uses: cytopia/shell-command-retry-action@v0.1.3
with:
command: |
make -f Makefile.lint lint-files
- name: Lint Yaml
uses: cytopia/shell-command-retry-action@v0.1.3
with:
command: |
make -f Makefile.lint lint-yaml
- name: Lint JSON
uses: cytopia/shell-command-retry-action@v0.1.3
with:
command: |
make -f Makefile.lint lint-json
- name: Lint Bash
uses: cytopia/shell-command-retry-action@v0.1.3
with:
command: |
make -f Makefile.lint lint-bash
13 changes: 13 additions & 0 deletions .yamllint
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
extends: default

ignore: |
.yamllint


rules:
truthy:
allowed-values: ['true', 'false']
check-keys: False
level: error
line-length: disable

0 comments on commit 1ee8dfd

Please sign in to comment.