From 20e8da8b9855b84b1657c74a7ae3bb05ab2b339f Mon Sep 17 00:00:00 2001 From: Ruth Cheesley <ruth@ruthcheesley.co.uk> Date: Sun, 6 Oct 2024 14:40:54 -0700 Subject: [PATCH] Updating the GH workflow for linting --- .github/workflows/linting.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index 523c50c5..36bd7947 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -9,17 +9,15 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Vale - uses: errata-ai/vale-action@master + uses: errata-ai/vale-action@reviewdog with: - # We can modify these styles as we want - styles: | - https://github.com/errata-ai/Google/releases/latest/download/Google.zip - onlyAnnotateModifiedLines: true + # Please keep version in sync with the version in .gitpod.Dockerfile for a consistent experience + version: 2.29.2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -27,9 +25,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v4 with: python-version: '3.x' cache: 'pip'