From d104f4ef9c40b2ccaf60f790aefad8a6e93d3719 Mon Sep 17 00:00:00 2001 From: Weiqun Zhang Date: Tue, 18 Jun 2024 18:20:37 -0700 Subject: [PATCH] Bump up actions' version (#107) --- .github/workflows/cleanup-cache-postpr.yml | 2 +- .github/workflows/cleanup-cache.yml | 2 +- .github/workflows/cuda.yml | 18 ++++++------ .github/workflows/gcc.yml | 34 +++++++++++----------- .github/workflows/hip.yml | 10 +++---- .github/workflows/post-pr.yml | 2 +- .github/workflows/style.yml | 4 +-- .github/workflows/sycl.yml | 10 +++---- 8 files changed, 41 insertions(+), 41 deletions(-) diff --git a/.github/workflows/cleanup-cache-postpr.yml b/.github/workflows/cleanup-cache-postpr.yml index a43b89ee..d352d47a 100644 --- a/.github/workflows/cleanup-cache-postpr.yml +++ b/.github/workflows/cleanup-cache-postpr.yml @@ -16,7 +16,7 @@ jobs: env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Clean up ccahe run: | gh extension install actions/gh-actions-cache diff --git a/.github/workflows/cleanup-cache.yml b/.github/workflows/cleanup-cache.yml index 40e37639..3448d88b 100644 --- a/.github/workflows/cleanup-cache.yml +++ b/.github/workflows/cleanup-cache.yml @@ -16,7 +16,7 @@ jobs: env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Clean up ccahe run: | gh extension install actions/gh-actions-cache diff --git a/.github/workflows/cuda.yml b/.github/workflows/cuda.yml index b45ebe3d..0a0a7f3e 100644 --- a/.github/workflows/cuda.yml +++ b/.github/workflows/cuda.yml @@ -19,21 +19,21 @@ jobs: env: {CXXFLAGS: "-Werror -Wall -Wextra -Wpedantic -Wnull-dereference -Wfloat-conversion -Wshadow -Woverloaded-virtual -Wnon-virtual-dtor -Wlogical-op -Wmisleading-indentation -Wduplicated-cond -Wduplicated-branches -Wmissing-include-dirs"} steps: - name: Checkout incflo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: incflo - name: Checkout AMReX-Hydro - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: AMReX-Fluids/AMReX-Hydro path: AMReX-Hydro - name: Checkout AMReX - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: AMReX-Codes/amrex path: amrex - name: Set Up Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cache/ccache key: ccache-${{ github.workflow }}-${{ github.job }}-git-${{ github.sha }} @@ -85,21 +85,21 @@ jobs: env: {CXXFLAGS: "-Werror -Wall -Wextra -Wpedantic -Wnull-dereference -Wfloat-conversion -Wshadow -Woverloaded-virtual -Wnon-virtual-dtor -Wlogical-op -Wmisleading-indentation -Wduplicated-cond -Wduplicated-branches -Wmissing-include-dirs"} steps: - name: Checkout incflo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: incflo - name: Checkout AMReX-Hydro - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: AMReX-Fluids/AMReX-Hydro path: AMReX-Hydro - name: Checkout AMReX - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: AMReX-Codes/amrex path: amrex - name: Set Up Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cache/ccache key: ccache-${{ github.workflow }}-${{ github.job }}-git-${{ github.sha }} @@ -153,7 +153,7 @@ jobs: PR_NUMBER: ${{ github.event.number }} run: | echo $PR_NUMBER > pr_number.txt - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: pr_number path: pr_number.txt diff --git a/.github/workflows/gcc.yml b/.github/workflows/gcc.yml index 631ad5c6..cb539a9a 100644 --- a/.github/workflows/gcc.yml +++ b/.github/workflows/gcc.yml @@ -19,21 +19,21 @@ jobs: env: {CXXFLAGS: "-Werror -Wall -Wextra -Wpedantic -Wnull-dereference -Wfloat-conversion -Wshadow -Woverloaded-virtual -Wnon-virtual-dtor -Wlogical-op -Wmisleading-indentation -Wduplicated-cond -Wduplicated-branches -Wmissing-include-dirs"} steps: - name: Checkout incflo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: incflo - name: Checkout AMReX-Hydro - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: AMReX-Fluids/AMReX-Hydro path: AMReX-Hydro - name: Checkout AMReX - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: AMReX-Codes/amrex path: amrex - name: Set Up Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cache/ccache key: ccache-${{ github.workflow }}-${{ github.job }}-git-${{ github.sha }} @@ -89,21 +89,21 @@ jobs: env: {CXXFLAGS: "-Werror -Wall -Wextra -Wpedantic -Wnull-dereference -Wfloat-conversion -Wshadow -Woverloaded-virtual -Wnon-virtual-dtor -Wlogical-op -Wmisleading-indentation -Wduplicated-cond -Wduplicated-branches -Wmissing-include-dirs"} steps: - name: Checkout incflo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: incflo - name: Checkout AMReX-Hydro - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: AMReX-Fluids/AMReX-Hydro path: AMReX-Hydro - name: Checkout AMReX - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: AMReX-Codes/amrex path: amrex - name: Set Up Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cache/ccache key: ccache-${{ github.workflow }}-${{ github.job }}-git-${{ github.sha }} @@ -174,21 +174,21 @@ jobs: env: {CXXFLAGS: "-Werror -Wall -Wextra -Wpedantic -Wnull-dereference -Wfloat-conversion -Wshadow -Woverloaded-virtual -Wnon-virtual-dtor -Wlogical-op -Wmisleading-indentation -Wduplicated-cond -Wduplicated-branches -Wmissing-include-dirs"} steps: - name: Checkout incflo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: incflo - name: Checkout AMReX-Hydro - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: AMReX-Fluids/AMReX-Hydro path: AMReX-Hydro - name: Checkout AMReX - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: AMReX-Codes/amrex path: amrex - name: Set Up Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cache/ccache key: ccache-${{ github.workflow }}-${{ github.job }}-git-${{ github.sha }} @@ -259,21 +259,21 @@ jobs: env: {CXXFLAGS: "-Werror -Wall -Wextra -Wpedantic -Wnull-dereference -Wfloat-conversion -Wshadow -Woverloaded-virtual -Wnon-virtual-dtor -Wlogical-op -Wmisleading-indentation -Wduplicated-cond -Wduplicated-branches -Wmissing-include-dirs"} steps: - name: Checkout incflo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: incflo - name: Checkout AMReX-Hydro - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: AMReX-Fluids/AMReX-Hydro path: AMReX-Hydro - name: Checkout AMReX - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: AMReX-Codes/amrex path: amrex - name: Set Up Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cache/ccache key: ccache-${{ github.workflow }}-${{ github.job }}-git-${{ github.sha }} @@ -332,7 +332,7 @@ jobs: PR_NUMBER: ${{ github.event.number }} run: | echo $PR_NUMBER > pr_number.txt - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: pr_number path: pr_number.txt diff --git a/.github/workflows/hip.yml b/.github/workflows/hip.yml index 76939c18..31d1b89f 100644 --- a/.github/workflows/hip.yml +++ b/.github/workflows/hip.yml @@ -19,21 +19,21 @@ jobs: env: {CXXFLAGS: "-Werror -Wall -Wextra -Wpedantic -Wnull-dereference -Wfloat-conversion -Wshadow -Woverloaded-virtual -Wextra-semi -Wunreachable-code -Wnon-virtual-dtor -Wno-deprecated-declarations -Wno-gnu-zero-variadic-macro-arguments"} steps: - name: Checkout incflo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: incflo - name: Checkout AMReX-Hydro - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: AMReX-Fluids/AMReX-Hydro path: AMReX-Hydro - name: Checkout AMReX - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: AMReX-Codes/amrex path: amrex - name: Set Up Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cache/ccache key: ccache-${{ github.workflow }}-${{ github.job }}-git-${{ github.sha }} @@ -85,7 +85,7 @@ jobs: PR_NUMBER: ${{ github.event.number }} run: | echo $PR_NUMBER > pr_number.txt - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: pr_number path: pr_number.txt diff --git a/.github/workflows/post-pr.yml b/.github/workflows/post-pr.yml index f5b91403..2768ef37 100644 --- a/.github/workflows/post-pr.yml +++ b/.github/workflows/post-pr.yml @@ -13,7 +13,7 @@ jobs: PR_NUMBER: ${{ github.event.number }} run: | echo $PR_NUMBER > pr_number.txt - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: pr_number path: pr_number.txt diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index 9c325542..5b5af5e8 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -10,13 +10,13 @@ jobs: tabs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Tabs run: .github/workflows/style/check_tabs.sh trailing_whitespaces: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Trailing Whitespaces run: .github/workflows/style/check_trailing_whitespaces.sh diff --git a/.github/workflows/sycl.yml b/.github/workflows/sycl.yml index d1b62688..678ac755 100644 --- a/.github/workflows/sycl.yml +++ b/.github/workflows/sycl.yml @@ -19,21 +19,21 @@ jobs: env: {CXXFLAGS: "-Werror -Wall -Wextra -Wpedantic -Wnull-dereference -Wfloat-conversion -Wshadow -Woverloaded-virtual -Wextra-semi -Wunreachable-code -Wnon-virtual-dtor -Wno-sign-compare -Wno-missing-braces"} steps: - name: Checkout incflo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: incflo - name: Checkout AMReX-Hydro - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: AMReX-Fluids/AMReX-Hydro path: AMReX-Hydro - name: Checkout AMReX - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: AMReX-Codes/amrex path: amrex - name: Set Up Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cache/ccache key: ccache-${{ github.workflow }}-${{ github.job }}-git-${{ github.sha }} @@ -84,7 +84,7 @@ jobs: PR_NUMBER: ${{ github.event.number }} run: | echo $PR_NUMBER > pr_number.txt - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: pr_number path: pr_number.txt