feat: Add cache auto-purge and --old
arg to cache clean command
#240
Workflow file for this run
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: reviewdog | |
on: pull_request | |
permissions: | |
contents: read | |
checks: write | |
pull-requests: write | |
issues: write | |
jobs: | |
actionlint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 | |
- uses: reviewdog/action-actionlint@b6feb003955cad286985c42e7047f4567a798f3f # v1.36.0 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
eslint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 | |
- uses: pnpm/action-setup@c3b53f6a16e57305370b4ae5a540c2077a1d50dd # v2.2.4 | |
with: | |
version: 7.26.1 | |
run_install: true | |
- uses: reviewdog/action-eslint@94d539484aab48e9b2ffff6466d8866ee4e4b217 # tag=v1.18.2 | |
with: | |
workdir: web | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
flake8: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 | |
- uses: actions/setup-python@13ae5bb136fac2878aff31522b9efb785519f984 # v4.6.1 | |
with: | |
python-version: "3.11" | |
- uses: reviewdog/action-flake8@b6435e67f0cfda225b9e0c9283cfb7ea7c551bdb # tag=v3.6.0 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
# Hadolint is failing to run.. issues when there are no dockerfiles? | |
# hadolint: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 | |
# - uses: reviewdog/action-hadolint@141ffd8d2f0b75e6fc7c87341331985448b62aa4 # v1.34.1 | |
# with: | |
# github_token: ${{ secrets.GITHUB_TOKEN }} | |
markdownlint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 | |
- uses: reviewdog/action-markdownlint@97e3df02fe1573d505a7b268046a44fa5409cbc3 # tag=v0.9.0 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
markdownlint_flags: "-i README.md ." | |
shellcheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 | |
- uses: reviewdog/action-shellcheck@f52d78284b4941028952125a10c76676c3d456eb # v1.17.0 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
yamllint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 | |
- uses: reviewdog/action-yamllint@8c429dfe4fc47b1ce1fa99a64e94693880d5dc30 # tag=v1.6.1 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} |