Update actions/checkout digest to b4ffde6 #4962
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: pr-test | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
- develop | |
jobs: | |
pr-super-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
with: | |
submodules: "recursive" | |
fetch-depth: 0 | |
- name: Set up Python | |
uses: actions/[email protected] | |
with: | |
python-version-file: .python-version | |
cache: pipenv | |
- name: Install pipenv | |
env: | |
DEST_PATH: "/home/runner/work/_temp/_github_workflow/.venv" | |
run: bash "${GITHUB_WORKSPACE}/scripts/pr_test/pr_super_lint/install_pipenv.sh" | |
- name: Set up Node.js | |
uses: actions/[email protected] | |
with: | |
cache: npm | |
- name: Install dependencies | |
run: bash "${GITHUB_WORKSPACE}/scripts/pr_test/pr_super_lint/npm_ci.sh" | |
- name: Lint files | |
uses: super-linter/super-linter/[email protected] | |
env: | |
VALIDATE_ALL_CODEBASE: true | |
VALIDATE_SQLFLUFF: false | |
LINTER_RULES_PATH: . | |
FILTER_REGEX_EXCLUDE: ".*assets/.*.txt" | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
WORKON_HOME: "" | |
PYTHONPATH: ${{ env.PYTHONPATH }} | |
pr-dotenv-linter: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
with: | |
submodules: "recursive" | |
fetch-depth: 0 | |
- name: Lint dotenv | |
uses: dotenv-linter/[email protected] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }} | |
cancel-in-progress: true |