diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index 751b46f4b35..94b76b12ce7 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -9,15 +9,16 @@ jobs: name: linters runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Python 3.10 - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: '3.10' + cache: pip - name: Install and Run Pre-commit - uses: pre-commit/action@v2.0.3 + uses: pre-commit/action@v3.0.0 - name: Download Semgrep rules run: git clone --depth 1 https://github.com/frappe/semgrep-rules.git frappe-semgrep-rules