mirror of
https://github.com/cytopia/devilbox.git
synced 2024-12-19 12:57:52 +00:00
51 lines
1.3 KiB
YAML
51 lines
1.3 KiB
YAML
---
|
|
|
|
# -------------------------------------------------------------------------------------------------
|
|
# Job Name
|
|
# -------------------------------------------------------------------------------------------------
|
|
name: Lint
|
|
|
|
|
|
# -------------------------------------------------------------------------------------------------
|
|
# When to run
|
|
# -------------------------------------------------------------------------------------------------
|
|
on:
|
|
# Runs on Pull Requests
|
|
pull_request:
|
|
|
|
# Runs on master Branch and Tags
|
|
push:
|
|
branches:
|
|
- master
|
|
tags:
|
|
|
|
|
|
# -------------------------------------------------------------------------------------------------
|
|
# What to run
|
|
# -------------------------------------------------------------------------------------------------
|
|
jobs:
|
|
lint:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
jobs:
|
|
- tests
|
|
|
|
name: "[Lint ${{ matrix.jobs }}]"
|
|
steps:
|
|
|
|
# ------------------------------------------------------------
|
|
# Checkout repository
|
|
# ------------------------------------------------------------
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v1
|
|
|
|
- name: Lint
|
|
shell: bash
|
|
run: |
|
|
cd .tests/
|
|
make lint-tests
|