Skip to content

hato-botのCIを反映するよ! #4737

hato-botのCIを反映するよ!

hato-botのCIを反映するよ! #4737

Workflow file for this run

---
name: pr-test
on:
pull_request:
push:
branches:
- master
- develop
jobs:
pr-super-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
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: github/super-linter/[email protected]
env:
VALIDATE_ALL_CODEBASE: true
VALIDATE_SQLFLUFF: false
LINTER_RULES_PATH: .
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WORKON_HOME: ""
PYTHONPATH: ${{ env.PYTHONPATH }}
PATH: /github/workspace/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/node_modules/.bin:/venvs/ansible-lint/bin:/venvs/black/bin:/venvs/cfn-lint/bin:/venvs/cpplint/bin:/venvs/flake8/bin:/venvs/isort/bin:/venvs/mypy/bin:/venvs/pylint/bin:/venvs/snakefmt/bin:/venvs/snakemake/bin:/venvs/sqlfluff/bin:/venvs/yamllint/bin:/venvs/yq/bin:/var/cache/dotnet/tools:/usr/share/dotnet
pr-dotenv-linter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # 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