From 8153c009415ba8b46a54766132b279645b71709a Mon Sep 17 00:00:00 2001 From: tobolar Date: Tue, 6 Aug 2024 09:46:42 +0200 Subject: [PATCH] Bump actions to avoid deprecation warnings --- .github/workflows/checkCI.yml | 16 ++++++++++------ .github/workflows/checkCron.yml | 10 +++++----- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/.github/workflows/checkCI.yml b/.github/workflows/checkCI.yml index 57a65de..4e2fb4d 100644 --- a/.github/workflows/checkCI.yml +++ b/.github/workflows/checkCI.yml @@ -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 @@ -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 @@ -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 diff --git a/.github/workflows/checkCron.yml b/.github/workflows/checkCron.yml index 1860b25..549cc0a 100644 --- a/.github/workflows/checkCron.yml +++ b/.github/workflows/checkCron.yml @@ -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 @@ -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