From 39a3a8ca249e287b2e2635b699c133fcf71af086 Mon Sep 17 00:00:00 2001 From: Helge Hecht Date: Wed, 19 Jun 2024 14:16:59 +0200 Subject: [PATCH] updated CI actions --- .github/workflows/build.yml | 8 ++++---- .github/workflows/cffconvert.yml | 2 +- .github/workflows/documentation.yml | 4 ++-- .github/workflows/markdown-link-check.yml | 2 +- .github/workflows/sonarcloud.yml | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 195f0ec..1d82a57 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,9 +19,9 @@ jobs: os: ['ubuntu-latest', 'macos-latest', 'windows-latest'] python-version: ['3.11', '3.12'] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@latest - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v3 + uses: actions/setup-python@latest with: python-version: ${{ matrix.python-version }} - name: Python info @@ -44,9 +44,9 @@ jobs: strategy: fail-fast: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@latest - name: Set up Python 3.11 - uses: actions/setup-python@v3 + uses: actions/setup-python@latest with: python-version: 3.11 - name: Python info diff --git a/.github/workflows/cffconvert.yml b/.github/workflows/cffconvert.yml index 2184082..0e9a745 100644 --- a/.github/workflows/cffconvert.yml +++ b/.github/workflows/cffconvert.yml @@ -14,7 +14,7 @@ jobs: name: "cffconvert" runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@latest name: Check out a copy of the repository - name: Check whether the citation metadata from CITATION.cff is valid diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index e39b866..240f32d 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -15,9 +15,9 @@ jobs: strategy: fail-fast: false steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@latest - name: Set up Python 3.11 - uses: actions/setup-python@v3 + uses: actions/setup-python@latest with: python-version: 3.11 - name: Python info diff --git a/.github/workflows/markdown-link-check.yml b/.github/workflows/markdown-link-check.yml index fb3cf17..9b004da 100644 --- a/.github/workflows/markdown-link-check.yml +++ b/.github/workflows/markdown-link-check.yml @@ -14,7 +14,7 @@ jobs: name: Check markdown links runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@latest - uses: gaurav-nelson/github-action-markdown-link-check@v1 with: config-file: '.mlc-config.json' diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index 89b9679..9fb5153 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -15,11 +15,11 @@ jobs: name: SonarCloud runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@latest with: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - name: Set up Python - uses: actions/setup-python@v3 + uses: actions/setup-python@latest with: python-version: 3.9 - name: Python info