From 51cb315dbe93f3bf8481270864914efc716f1d85 Mon Sep 17 00:00:00 2001 From: Maxence Thevenet Date: Mon, 14 Oct 2024 21:27:41 +1000 Subject: [PATCH] Use newer version in GH actions --- .github/workflows/cuda.yml | 6 +++--- .github/workflows/cudaLocal.yml | 2 +- .github/workflows/disabled/macos.yml | 4 ++-- .github/workflows/hip.yml | 4 ++-- .github/workflows/linux.yml | 10 +++++----- .github/workflows/macos.yml | 2 +- .github/workflows/source.yml | 4 ++-- .github/workflows/windows.yml | 8 ++++---- 8 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/cuda.yml b/.github/workflows/cuda.yml index 0b141c5f1a..97299e5064 100644 --- a/.github/workflows/cuda.yml +++ b/.github/workflows/cuda.yml @@ -25,14 +25,14 @@ jobs: env: CXXFLAGS: "-Werror" steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: install dependencies run: | .github/workflows/setup/nvcc11.sh - name: CCache Cache - uses: actions/cache@v2 + uses: actions/cache@v4 # - once stored under a key, they become immutable (even if local cache path content changes) # - for a refresh the key has to change, e.g., hash of a tracked file in the key with: @@ -65,7 +65,7 @@ jobs: # runs-on: ubuntu-20.04 # if: github.event.pull_request.draft == false # steps: -# - uses: actions/checkout@v2 +# - uses: actions/checkout@v4 # - name: Dependencies # run: .github/workflows/setup/nvhpc.sh # - name: Build & Install diff --git a/.github/workflows/cudaLocal.yml b/.github/workflows/cudaLocal.yml index 887a05557c..3dde28fa2d 100644 --- a/.github/workflows/cudaLocal.yml +++ b/.github/workflows/cudaLocal.yml @@ -27,7 +27,7 @@ jobs: env: CXXFLAGS: "-Werror" steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Build & Install run: | diff --git a/.github/workflows/disabled/macos.yml b/.github/workflows/disabled/macos.yml index 5651a2ed67..3f0d0a3570 100644 --- a/.github/workflows/disabled/macos.yml +++ b/.github/workflows/disabled/macos.yml @@ -14,7 +14,7 @@ jobs: name: AppleClang@11.0 C++14 OMPI runs-on: macos-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Dependencies run: .github/workflows/setup/macos.sh - name: Build & Install @@ -32,7 +32,7 @@ jobs: name: AppleClang@11.0 C++14 OMP OMPI runs-on: macos-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Dependencies run: .github/workflows/setup/macos_omp.sh - name: Build & Install diff --git a/.github/workflows/hip.yml b/.github/workflows/hip.yml index e092e895ce..b45dc8b97a 100644 --- a/.github/workflows/hip.yml +++ b/.github/workflows/hip.yml @@ -16,14 +16,14 @@ jobs: # -Werror env: {CXXFLAGS: "-Wno-deprecated-declarations -Wno-error=pass-failed"} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: install dependencies shell: bash run: .github/workflows/setup/hip.sh - name: CCache Cache - uses: actions/cache@v2 + uses: actions/cache@v4 # - once stored under a key, they become immutable (even if local cache path content changes) # - for a refresh the key has to change, e.g., hash of a tracked file in the key with: diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 15bf64de8a..a22a311558 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -21,11 +21,11 @@ jobs: runs-on: ubuntu-latest env: {OMP_NUM_THREADS: 2} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Dependencies run: .github/workflows/setup/ubuntu_ompi.sh - name: CCache Cache - uses: actions/cache@v2 + uses: actions/cache@v4 # - once stored under a key, they become immutable (even if local cache path content changes) # - for a refresh the key has to change, e.g., hash of a tracked file in the key with: @@ -52,11 +52,11 @@ jobs: runs-on: ubuntu-latest env: {OMP_NUM_THREADS: 2} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Dependencies run: .github/workflows/setup/ubuntu.sh - name: CCache Cache - uses: actions/cache@v2 + uses: actions/cache@v4 # - once stored under a key, they become immutable (even if local cache path content changes) # - for a refresh the key has to change, e.g., hash of a tracked file in the key with: @@ -83,7 +83,7 @@ jobs: # name: Clang@7 C++17 OMPI # runs-on: ubuntu-latest # steps: -# - uses: actions/checkout@v2 +# - uses: actions/checkout@v4 # - name: Dependencies # run: .github/workflows/setup/ubuntu_clang.sh # - name: Build & Install diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 0e237817e1..bc0b9938f5 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -44,7 +44,7 @@ jobs: brew install ccache brew link ccache - name: CCache Cache - uses: actions/cache@v3 + uses: actions/cache@v4 # - once stored under a key, they become immutable (even if local cache path content changes) # - for a refresh the key has to change, e.g., hash of a tracked file in the key with: diff --git a/.github/workflows/source.yml b/.github/workflows/source.yml index fed244d747..38a03b0cae 100644 --- a/.github/workflows/source.yml +++ b/.github/workflows/source.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Non-ASCII characters run: .github/workflows/source/hasNonASCII - name: TABs @@ -30,7 +30,7 @@ jobs: documentation: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: s-weigand/setup-conda@v1 with: update-conda: true diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index bbb2ab89d3..1aad06ff82 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -12,9 +12,9 @@ jobs: runs-on: windows-latest if: github.event.pull_request.draft == false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: CCache Cache - uses: actions/cache@v3 + uses: actions/cache@v4 # - once stored under a key, they become immutable (even if local cache path content changes) # - for a refresh the key has to change, e.g., hash of a tracked file in the key with: @@ -52,9 +52,9 @@ jobs: runs-on: windows-2019 if: github.event.pull_request.draft == false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: CCache Cache - uses: actions/cache@v3 + uses: actions/cache@v4 # - once stored under a key, they become immutable (even if local cache path content changes) # - for a refresh the key has to change, e.g., hash of a tracked file in the key with: