From 397abc039203ecc0bda868a06ca7332f2ad9ed26 Mon Sep 17 00:00:00 2001 From: Federico Stagni Date: Tue, 23 Apr 2024 14:18:26 +0200 Subject: [PATCH] test: simple bump of actions versions --- .github/workflows/basic.yml | 16 ++++++++-------- .github/workflows/deployment.yml | 4 ++-- .github/workflows/integration.yml | 4 ++-- .github/workflows/labeler.yml | 2 +- .github/workflows/nightly.yml | 2 +- .github/workflows/semantic.yml | 4 ++-- 6 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/basic.yml b/.github/workflows/basic.yml index 97be129e97e..35b7e9d88eb 100644 --- a/.github/workflows/basic.yml +++ b/.github/workflows/basic.yml @@ -7,8 +7,8 @@ jobs: runs-on: ubuntu-latest if: github.event_name != 'push' || github.repository == 'DIRACGrid/DIRAC' steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: '3.11' - name: Install pre-commit @@ -22,7 +22,7 @@ jobs: timeout-minutes: 30 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Run shellcheck # TODO This should cover more than just tests/CI # Excluded codes related to sourcing files @@ -37,8 +37,8 @@ jobs: timeout-minutes: 30 steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 with: python-version: '3.11' - name: Installing dependencies @@ -74,7 +74,7 @@ jobs: - mypy steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Fail-fast for outdated pipelines run: .github/workflows/fail-fast.sh - uses: conda-incubator/setup-miniconda@master @@ -110,7 +110,7 @@ jobs: - pylint -j 0 -E src/ steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Fail-fast for outdated pipelines run: .github/workflows/fail-fast.sh - name: fix python3.9 @@ -134,7 +134,7 @@ jobs: runs-on: ubuntu-latest if: github.event_name != 'push' || github.repository == 'DIRACGrid/DIRAC' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Fail-fast for outdated pipelines run: .github/workflows/fail-fast.sh - name: prepare environment diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 42cace146e1..fc11bd34cde 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -21,14 +21,14 @@ jobs: run: shell: bash -l {0} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: token: ${{ secrets.PAT || github.token }} - run: | git fetch --prune --unshallow git config --global user.email "ci@diracgrid.org" git config --global user.name "DIRACGrid CI" - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v5 with: python-version: '3.11' - name: Installing dependencies diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 0bfca5fde0e..a5f5815cdc2 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -41,12 +41,12 @@ jobs: ARGS: DIRAC_USE_JSON_ENCODE=Yes DIRAC_USE_JSON_DECODE=Yes steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Fail-fast for outdated pipelines run: .github/workflows/fail-fast.sh - run: | git fetch --prune --unshallow - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v5 with: python-version: '3.11' - name: Installing dependencies diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index e568a2e6fe7..f19795e53f3 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -6,6 +6,6 @@ jobs: triage: runs-on: ubuntu-latest steps: - - uses: actions/labeler@v3 + - uses: actions/labeler@v5 with: repo-token: "${{ secrets.PAT }}" diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 33470a74a23..ca7b1da03a0 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -27,7 +27,7 @@ jobs: - integration steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: create run: | docker pull ghcr.io/diracgrid/management/dirac-distribution:latest diff --git a/.github/workflows/semantic.yml b/.github/workflows/semantic.yml index 07af3517572..3550803141c 100644 --- a/.github/workflows/semantic.yml +++ b/.github/workflows/semantic.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check Commit Format - uses: gsactions/commit-message-checker@v1 + uses: gsactions/commit-message-checker@v2 with: pattern: '^((docs|feat|fix|refactor|style|test|sweep)( ?\(.*\))?: .+|Revert ".+")$' excludeDescription: 'true' # optional: this excludes the description body of a pull request @@ -23,7 +23,7 @@ jobs: flags: 'gim' error: 'Your commit has to follow the format "(): "".' - name: Check Commit Length - uses: gsactions/commit-message-checker@v1 + uses: gsactions/commit-message-checker@v2 with: pattern: '^.{20,150}$' error: 'Commit messages should be between 20 and 150 chars'