Skip to content

Commit

Permalink
Merge pull request #841 from plone/workflows-bump-versions
Browse files Browse the repository at this point in the history
Workflows bump versions, remove duplicate jobs
  • Loading branch information
stevepiercy authored Mar 14, 2024
2 parents 12d0b30 + 7c3d4b5 commit f2cce5d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 17 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/build_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,28 +16,16 @@ 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
run: |
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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ sphinx-sitemap
sphinx-togglebutton
sphinxcontrib-spelling
sphinxext-opengraph
vale==2.30.0

0 comments on commit f2cce5d

Please sign in to comment.