From 1ba3a2c4233bac895e32fd671cf1dcbbe1a0ae3b Mon Sep 17 00:00:00 2001 From: Steve Piercy Date: Wed, 13 Mar 2024 21:39:50 -0700 Subject: [PATCH 1/3] Bump versions --- .github/workflows/build_deploy.yml | 4 ++-- .github/workflows/test.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_deploy.yml b/.github/workflows/build_deploy.yml index e36259a19..a7eb4251f 100644 --- a/.github/workflows/build_deploy.yml +++ b/.github/workflows/build_deploy.yml @@ -16,9 +16,9 @@ jobs: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: - python-version: "3.10" + python-version: "3.12" cache: 'pip' - name: Install dependencies diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c2a005df1..3f0f98f25 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,12 +7,12 @@ jobs: if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: - python-version: "3.10" + python-version: "3.12" - name: Install dependencies run: | From 0ece78921553d9f5ec593e1b4fbb31bcf5317907 Mon Sep 17 00:00:00 2001 From: Steve Piercy Date: Wed, 13 Mar 2024 21:40:06 -0700 Subject: [PATCH 2/3] Remove tasks that are already performed in test.yml --- .github/workflows/build_deploy.yml | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/.github/workflows/build_deploy.yml b/.github/workflows/build_deploy.yml index a7eb4251f..ae8930209 100644 --- a/.github/workflows/build_deploy.yml +++ b/.github/workflows/build_deploy.yml @@ -26,18 +26,6 @@ jobs: python -m pip install --upgrade pip pip install -q -r requirements.txt -c constraints.txt pip freeze - sudo snap install --edge vale - - - name: Run Vale - run: | - git clone https://github.com/errata-ai/Microsoft.git - cp -r ./Microsoft/Microsoft ./styles - VALEFILES=$(find ./docs/ -type f -name "*.md" -print) - vale --no-exit $VALEFILES - - # TODO Raise linkcheck barrier again. - # - name: Run linkcheck - # run: make linkcheck - name: Prepare deploy run: make deploy From 7c3d4b51d32c1c37fb7cb731a7b9f3a20a12846e Mon Sep 17 00:00:00 2001 From: Steve Piercy Date: Wed, 13 Mar 2024 22:08:47 -0700 Subject: [PATCH 3/3] Include vale and pin to a supported version --- requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements.txt b/requirements.txt index d92b4a0a8..0430482f4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -12,3 +12,4 @@ sphinx-sitemap sphinx-togglebutton sphinxcontrib-spelling sphinxext-opengraph +vale==2.30.0