From b45ed3e11fa45bb7f4ab008bad133341432f67d7 Mon Sep 17 00:00:00 2001 From: Wes Bonelli Date: Thu, 19 Oct 2023 08:30:13 -0400 Subject: [PATCH 1/2] refactor: schedule warning outages, drop branch filters from push trigger --- .github/workflows/ci.yml | 3 --- .github/workflows/integration.yml | 3 --- README.md | 4 +++- action.yml | 12 +++++++++--- 4 files changed, 12 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 16c61ca..1ed346b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,9 +1,6 @@ name: CI on: push: - branches: - - main - - develop* paths-ignore: - '**.md' pull_request: diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index ab2a302..7f13893 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -1,9 +1,6 @@ name: Integration testing on: push: - branches: - - main - - develop* paths-ignore: - '**.md' pull_request: diff --git a/README.md b/README.md index 3cfdf0e..47f9b4a 100644 --- a/README.md +++ b/README.md @@ -6,11 +6,12 @@ An action to install and cache [Intel OneAPI](https://www.intel.com/content/www/us/en/developer/tools/oneapi/fortran-compiler.html#gs.bksc2p) Fortran and C/C++ compilers via the [HPC Toolkit](https://www.intel.com/content/www/us/en/developer/tools/oneapi/hpc-toolkit.html#gs.g10hgy). -**Note:** [`awvwgk/setup-fortran`](https://github.com/awvwgk/setup-fortran) is recommended. Maintenance of this action will cease in 2024. +**Note:** Maintenance of this action will cease in 2024. [`fortran-lang/setup-fortran`](https://github.com/fortran-lang/setup-fortran) is recommended instead. This action will disable itself 10% of the time until then (to avoid this, use a previous tag). + - [Overview](#overview) - [Usage](#usage) - [Environment variables](#environment-variables) @@ -20,6 +21,7 @@ An action to install and cache [Intel OneAPI](https://www.intel.com/content/www/ - [Setting oneAPI variables on Linux/macOS](#setting-oneapi-variables-on-linuxmacos) - [Setting oneAPI variables on Windows](#setting-oneapi-variables-on-windows) - [`cache`](#cache) + - [`ignore`](#ignore) - [Outputs](#outputs) - [`cache-hit`](#cache-hit) - [Windows caveats](#windows-caveats) diff --git a/action.yml b/action.yml index a9476ba..ab01f3b 100644 --- a/action.yml +++ b/action.yml @@ -21,11 +21,17 @@ runs: using: composite steps: - - name: Deprecation warning + - name: Migration warning shell: bash run: | - echo "WARNING: This action will be archived on 01/01/24 in light of better alternatives." - echo "Please use awvwgk/setup-fortran instead (https://github.com/awvwgk/setup-fortran)." + echo "WARNING: This action will be archived on 01/01/24." + echo "Use fortran-lang/setup-fortran instead (https://github.com/fortran-lang/setup-fortran)." + + - name: Migration brownout + uses: wpbonelli/schedule-outage@v1 + with: + probability: 0.1 + message: "This action will be archived on 01/01/24. Use fortran-lang/setup-fortran instead (https://github.com/fortran-lang/setup-fortran)." - name: Set install path if: runner.os != 'Windows' From b892b908b695fe58b5a64baaf2560e9c964f536b Mon Sep 17 00:00:00 2001 From: Wes Bonelli Date: Thu, 19 Oct 2023 09:14:58 -0400 Subject: [PATCH 2/2] continue on error --- .github/workflows/ci.yml | 1 + .github/workflows/integration.yml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1ed346b..d21b2e1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,6 +13,7 @@ jobs: test: name: Test runs-on: ${{ matrix.os }} + continue-on-error: true strategy: fail-fast: false matrix: diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 7f13893..4d5cac6 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -11,10 +11,12 @@ on: - '**.md' schedule: - cron: '0 6 * * *' # run at 6 AM UTC every day + jobs: test_modflow: name: Test modflow6 integration runs-on: ${{ matrix.os }} + continue-on-error: true strategy: fail-fast: false matrix: @@ -132,6 +134,7 @@ jobs: test_pymake: name: Test pymake integration runs-on: ${{ matrix.os }} + continue-on-error: true strategy: fail-fast: false matrix: