Skip to content

Commit

Permalink
Update GH actions workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ml-evs committed Jan 23, 2025
1 parent 6358fc2 commit 0cb0e8f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 15 deletions.
28 changes: 16 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,18 @@ jobs:
timeout-minutes: 5

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: 'true'
- name: Set up Python 3.8
uses: actions/setup-python@v1
submodules: true

- name: Set up Python 3.13
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: '3.13'

- name: Install dependencies
run: pip install pre-commit==2.8.2
run: pip install pre-commit ~= 4.1

- name: Run pre-commit tests
run: pre-commit run --all-files

Expand All @@ -32,9 +35,10 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: 'true'
submodules: true
- run: apt update && apt install subversion
- name: Set up JDK
uses: actions/setup-java@v1
with:
Expand All @@ -46,17 +50,17 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: 'true'
submodules: true
- run: make audit_authors

audit-spelling:
name: Audit spelling in the specification
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: 'true'
submodules: true
- run: make audit_spelling
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v5.0.0
hooks:
- id: trailing-whitespace
exclude: &exclude_files >
Expand All @@ -13,14 +13,14 @@ repos:
)$

- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.3.1
rev: v1.5.5
hooks:
- id: remove-tabs
args: [ '--whitespaces-count', '2']
files: \.rst$

- repo: https://github.com/rstcheck/rstcheck
rev: v6.2.0
rev: v6.2.4
hooks:
- id: rstcheck
args: [ '--config', '.rstcheck.cfg' ]

0 comments on commit 0cb0e8f

Please sign in to comment.