From 0f478d62954db9cd256593566911e84100e59d5e Mon Sep 17 00:00:00 2001 From: l4kr Date: Wed, 13 Sep 2023 15:14:09 +0200 Subject: [PATCH] acid testing --- .github/workflows/futon-deploy.yaml | 70 +++++++++++++++++++++-------- 1 file changed, 52 insertions(+), 18 deletions(-) diff --git a/.github/workflows/futon-deploy.yaml b/.github/workflows/futon-deploy.yaml index f2c72cb..8ac2181 100644 --- a/.github/workflows/futon-deploy.yaml +++ b/.github/workflows/futon-deploy.yaml @@ -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 }} -- 2.45.2