acid testing
All checks were successful
--> Linted: GITHUB_ACTIONS No errors were found in the linting process
--> Linted: GITLEAKS No errors were found in the linting process
--> Linted: JSCPD No errors were found in the linting process
--> Linted: NATURAL_LANGUAGE No errors were found in the linting process
--> Linted: YAML No errors were found in the linting process
Lint Code Base / Lint Code Base (push) Successful in 3m2s
Lint Code Base / Lint Code Base (pull_request) Successful in 13s

This commit is contained in:
l4kr 2023-09-13 15:14:09 +02:00
parent 42c6069c00
commit 0f478d6295

View File

@ -1,25 +1,59 @@
# urmom
name: futon deploy
---
#################################
#################################
## Super Linter GitHub Actions ##
#################################
#################################
name: Lint Code Base
#############################
# Start the job on all push #
#############################
on:
push:
branches-ignore: [master, main]
# Remove the line above to run when pushing to master or main
pull_request:
types: [closed]
branches: [main]
branches: [master, main]
###############
# Set the Job #
###############
jobs:
run-linters:
name: Run linters
runs-on: "ubuntu-latest"
build:
# Name the Job
name: Lint Code Base
# Set the agent to run on
runs-on: ubuntu-latest
############################################
# Grant status permission for MULTI_STATUS #
############################################
permissions:
contents: read
packages: read
statuses: write
##################
# Load all steps #
##################
steps:
- name: Checkout code
uses: actions/checkout@v4
##########################
# Checkout the code base #
##########################
- name: Checkout Code
uses: actions/checkout@v3
with:
# Full git history is needed to get a proper
# list of changed files within `super-linter`
fetch-depth: 0
- name: install Node.js
uses: github/super-linter@v4
################################
# Run Linter against code base #
################################
- name: Lint Code Base
uses: super-linter/super-linter@v5
env:
VALIDATE_ALL_CODEBASE: true
# - name: Minify dashit
# uses: nizarmah/auto-minify@v2.1
# with:
# directory: './'
# output:'.'
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}