Skip to content

Commit

Permalink
Bump actions to avoid deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
tobolar committed Aug 6, 2024
1 parent 77b8ed2 commit 976f697
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/checkCI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ jobs:
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 5
- name: Setup python environment
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Install python packages
Expand Down Expand Up @@ -44,7 +45,8 @@ jobs:
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 5
- name: Get moparser
Expand All @@ -56,17 +58,19 @@ jobs:
- name: Check syntax
run: |
echo "::add-matcher::./.github/moparser.json"
ModelicaSyntaxChecker/Linux64/moparser -v 3.4 -r PlanarMechanics
ModelicaSyntaxChecker/Linux64/moparser -v 3.6 -r PlanarMechanics
echo "::remove-matcher owner=moparser::"
deprecation_checks:
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 5
- name: Setup python environment
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Check deprecated Text.lineColor annotation
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/checkCron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
if: github.repository_owner == 'dzimmer'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 5
- name: Setup python environment
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Install python packages
Expand All @@ -28,15 +28,15 @@ jobs:
if: github.repository_owner == 'dzimmer'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 5
- name: Setup python environment
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Install python packages
run: pip install --user codespell
run: pip install --disable-pip-version-check --user codespell
- name: Check for spelling errors
run: |
printf "[codespell]\nenable-colors=\n" >> .codespellrc
Expand Down

0 comments on commit 976f697

Please sign in to comment.