From 0fa4633f483bf5d7247b0e5b0b8921b74c2f0e12 Mon Sep 17 00:00:00 2001 From: Theofilos Manitaras Date: Wed, 10 Apr 2024 14:34:42 +0200 Subject: [PATCH 1/2] Update versions of GitHub Actions in CI Signed-off-by: Theofilos Manitaras --- .github/workflows/main.yml | 32 ++++++++++++++++---------------- .github/workflows/publish.yml | 4 ++-- .github/workflows/test-flux.yaml | 2 +- 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a5e512c2f0..11942b760e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,9 +9,9 @@ jobs: matrix: python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies @@ -29,7 +29,7 @@ jobs: coverage report -m - name: Upload Coverage to Codecov if: matrix.python-version == '3.8' - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: fail_ci_if_error: true @@ -39,9 +39,9 @@ jobs: matrix: python-version: ['3.6'] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies and docs @@ -54,9 +54,9 @@ jobs: unittest-macos: runs-on: macos-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.9 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.9 - name: Install dependencies @@ -72,7 +72,7 @@ jobs: matrix: modules-version: [lmod, lmod77, tmod32, tmod4] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Login to GitHub Container Registry uses: docker/login-action@v2 with: @@ -89,9 +89,9 @@ jobs: tutorialtest: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Login to GitHub Container Registry - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.actor }} @@ -108,11 +108,11 @@ jobs: unusedimports: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Lint Code Base - uses: github/super-linter@v4 + uses: github/super-linter@v6 env: VALIDATE_ALL_CODEBASE: false VALIDATE_PYTHON_FLAKE8: true @@ -121,9 +121,9 @@ jobs: wheelvalidation: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup up Python 3.8 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.8 - name: Generate Wheel @@ -144,9 +144,9 @@ jobs: matrix: python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install Doc Requirements diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 86fdae124b..1be0cd0509 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -8,9 +8,9 @@ jobs: publish: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup up Python 3.8 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.8 - name: Generate dist packages diff --git a/.github/workflows/test-flux.yaml b/.github/workflows/test-flux.yaml index 05721c1c1c..b6f01a48d4 100644 --- a/.github/workflows/test-flux.yaml +++ b/.github/workflows/test-flux.yaml @@ -24,7 +24,7 @@ jobs: rm -rf /opt/ghc - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Reframe run: | From 16d52b7c9a68939bb86e69799ea666b61109855c Mon Sep 17 00:00:00 2001 From: Theofilos Manitaras Date: Wed, 10 Apr 2024 14:43:31 +0200 Subject: [PATCH 2/2] Update super linter version Signed-off-by: Theofilos Manitaras --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 11942b760e..c764f37318 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -112,7 +112,7 @@ jobs: with: fetch-depth: 0 - name: Lint Code Base - uses: github/super-linter@v6 + uses: super-linter/super-linter@v6 env: VALIDATE_ALL_CODEBASE: false VALIDATE_PYTHON_FLAKE8: true