Skip to content

Update actions/checkout action to v4 #254

Update actions/checkout action to v4

Update actions/checkout action to v4 #254

Workflow file for this run

---
#########################
#########################
## GitHub Super-Linter ##
#########################
#########################
name: Super-Linter
# https://bit.ly/git-io_workflow-syntax-for-github-actions
#############################
# Start the job on all push #
#############################
on:
push:
###############
# Set the Job #
###############
jobs:
build:
# Name the Job
name: Lint Code Base
# Set the agent to run on
runs-on: ubuntu-latest
##################
# Load all steps #
##################
steps:
##########################
# Checkout the code base #
##########################
- name: Checkout Code
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
with:
# Super-Linter requires full repository history for analysis
fetch-depth: 0
################################
# Run Linter against code base #
################################
- name: Lint Code Base
uses: github/super-linter@v5
env:
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: main
# Super-Linter requires this variable even if it is unset
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}