diff --git a/.github/workflows/burn_cell.yml b/.github/workflows/burn_cell.yml index 5be60fe859..c8690cf664 100644 --- a/.github/workflows/burn_cell.yml +++ b/.github/workflows/burn_cell.yml @@ -5,7 +5,7 @@ jobs: burn_cell: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/burn_cell_primordial_chem.yml b/.github/workflows/burn_cell_primordial_chem.yml index bdc52cc939..fe1455b717 100644 --- a/.github/workflows/burn_cell_primordial_chem.yml +++ b/.github/workflows/burn_cell_primordial_chem.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/burn_cell_sdc.yml b/.github/workflows/burn_cell_sdc.yml index 711d4ea14d..17314bedfe 100644 --- a/.github/workflows/burn_cell_sdc.yml +++ b/.github/workflows/burn_cell_sdc.yml @@ -5,7 +5,7 @@ jobs: burn_cell_sdc: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/c-linter.yml b/.github/workflows/c-linter.yml index b1d4f78a8b..56d6bc7235 100644 --- a/.github/workflows/c-linter.yml +++ b/.github/workflows/c-linter.yml @@ -6,7 +6,7 @@ jobs: cpp-linter: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 @@ -34,13 +34,13 @@ jobs: cppcheck_options: '-U_OPENMP -UAMREX_USE_GPU -UAMREX_USE_CUDA -UAMREX_USE_HIP -U_MSC_VER' - name: Archive clang tidy report - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 with: name: clang-tidy-report path: clang-tidy-report.txt - name: Archive cppcheck report - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 with: name: cppcheck-report path: cppcheck-report.txt diff --git a/.github/workflows/castro.yml b/.github/workflows/castro.yml index e1a110d720..61f0e6c257 100644 --- a/.github/workflows/castro.yml +++ b/.github/workflows/castro.yml @@ -11,19 +11,19 @@ jobs: name: Castro runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Get Latest Release Tag run: | AMREX_TAG=$(wget https://github.com/AMReX-Codes/amrex/releases/latest 2>&1 | grep Location: | awk '{print $2}' | awk -F/ '{print $NF}') echo "AMREX_TAG=$AMREX_TAG" >> $GITHUB_ENV - name: Download Castro - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: 'AMReX-Astro/Castro' ref: development path: 'Castro' - name: Download AMReX - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: 'AMReX-Codes/amrex' ref: ${{env.AMREX_TAG}} diff --git a/.github/workflows/check-ifdefs.yml b/.github/workflows/check-ifdefs.yml index 5558864238..9afa5f0167 100644 --- a/.github/workflows/check-ifdefs.yml +++ b/.github/workflows/check-ifdefs.yml @@ -14,23 +14,14 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: - python-version: '3.10' - - - name: Cache pip - uses: actions/cache@v3 - with: - # this path is specific to Ubuntu - path: ~/.cache/pip - key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} - restore-keys: | - ${{ runner.os }}-pip- + python-version: '3.11' - name: Run check-ifdefs run: | diff --git a/.github/workflows/cmake_build_cell_primordial_chem.yml b/.github/workflows/cmake_build_cell_primordial_chem.yml index 9332fbf99c..844ab4c8d7 100644 --- a/.github/workflows/cmake_build_cell_primordial_chem.yml +++ b/.github/workflows/cmake_build_cell_primordial_chem.yml @@ -5,7 +5,7 @@ jobs: burn_cell: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index 9802bb4604..0b0e96e5a9 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -14,23 +14,15 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: - python-version: '3.10' - - - name: Cache pip - uses: actions/cache@v3 - with: - # this path is specific to Ubuntu - path: ~/.cache/pip - key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} - restore-keys: | - ${{ runner.os }}-pip- + python-version: '3.11' + cache: "pip" - name: Install dependencies run: pip install codespell diff --git a/.github/workflows/compile_action.yml b/.github/workflows/compile_action.yml index cafe375b8a..184c4a36a1 100644 --- a/.github/workflows/compile_action.yml +++ b/.github/workflows/compile_action.yml @@ -5,7 +5,7 @@ jobs: compilation: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 @@ -28,4 +28,4 @@ jobs: - name: Compile problems run: | - python3 .github/workflows/find_changed_files.py ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }} \ No newline at end of file + python3 .github/workflows/find_changed_files.py ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }} diff --git a/.github/workflows/compiler-warnings.yml b/.github/workflows/compiler-warnings.yml index 79772ee7fa..0ea9dce738 100644 --- a/.github/workflows/compiler-warnings.yml +++ b/.github/workflows/compiler-warnings.yml @@ -5,7 +5,7 @@ jobs: compiler_warnings: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/create_release.yml b/.github/workflows/create_release.yml index 3d021ab174..bd9d8795a8 100644 --- a/.github/workflows/create_release.yml +++ b/.github/workflows/create_release.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Get the version id: get_version @@ -33,4 +33,4 @@ jobs: release_name: Release ${{ github.ref }} body: ${{ env.RELEASE_TXT }} draft: false - prerelease: false \ No newline at end of file + prerelease: false diff --git a/.github/workflows/cuda.yml b/.github/workflows/cuda.yml index 2e584a207a..60aff9d0e8 100644 --- a/.github/workflows/cuda.yml +++ b/.github/workflows/cuda.yml @@ -11,7 +11,7 @@ jobs: name: CUDA@11.7 GCC runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Get AMReX run: | diff --git a/.github/workflows/docs-test.yml b/.github/workflows/docs-test.yml index 6e31bc46ae..7f7c4fb37d 100644 --- a/.github/workflows/docs-test.yml +++ b/.github/workflows/docs-test.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Install pandoc and doxygen @@ -22,18 +22,10 @@ jobs: sudo apt install pandoc doxygen - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.10' - - - name: Cache pip - uses: actions/cache@v3 - with: - # this path is specific to Ubuntu - path: ~/.cache/pip - key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} - restore-keys: | - ${{ runner.os }}-pip- + cache: "pip" - name: Install dependencies run: pip install -r ./requirements.txt diff --git a/.github/workflows/eos_cell.yml b/.github/workflows/eos_cell.yml index 806d9037c6..86014adb89 100644 --- a/.github/workflows/eos_cell.yml +++ b/.github/workflows/eos_cell.yml @@ -5,7 +5,7 @@ jobs: eos_cell: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index a9f469d361..d8be527e82 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -10,34 +10,23 @@ jobs: deploy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install pandoc and doxygen run: | sudo apt install pandoc doxygen - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: - python-version: '3.10' + python-version: '3.11' + cache: "pip" - name: Upgrade pip run: | # install pip=>20.1 to use "pip cache dir" python3 -m pip install --upgrade pip - - name: Get pip cache dir - id: pip-cache - run: echo "::set-output name=dir::$(pip cache dir)" - - - name: Cache dependencies - uses: actions/cache@v3 - with: - path: ${{ steps.pip-cache.outputs.dir }} - key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} - restore-keys: | - ${{ runner.os }}-pip- - - name: Install dependencies run: python3 -m pip install -r ./requirements.txt @@ -58,4 +47,4 @@ jobs: with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./out - keep_files: true \ No newline at end of file + keep_files: true diff --git a/.github/workflows/hip.yml b/.github/workflows/hip.yml index fd955a1bad..1115796868 100644 --- a/.github/workflows/hip.yml +++ b/.github/workflows/hip.yml @@ -10,7 +10,7 @@ jobs: hip-compile: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/macos_build_cell_primordial_chem.yml b/.github/workflows/macos_build_cell_primordial_chem.yml index 43eee22bbc..fb4ac030e1 100644 --- a/.github/workflows/macos_build_cell_primordial_chem.yml +++ b/.github/workflows/macos_build_cell_primordial_chem.yml @@ -5,7 +5,7 @@ jobs: burn_cell: runs-on: macos-13 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/nse_net.yml b/.github/workflows/nse_net.yml index 9e04c7bc17..e1231a31cb 100644 --- a/.github/workflows/nse_net.yml +++ b/.github/workflows/nse_net.yml @@ -5,7 +5,7 @@ jobs: nse_net: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/nse_table.yml b/.github/workflows/nse_table.yml index 260c43af3d..303d5e546c 100644 --- a/.github/workflows/nse_table.yml +++ b/.github/workflows/nse_table.yml @@ -5,7 +5,7 @@ jobs: nse_table: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/nse_test.yml b/.github/workflows/nse_test.yml index 130c1a4988..33acdf2578 100644 --- a/.github/workflows/nse_test.yml +++ b/.github/workflows/nse_test.yml @@ -5,7 +5,7 @@ jobs: nse_test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index 9c32554218..5b5af5e8dd 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/test_neutrinos.yml b/.github/workflows/test_neutrinos.yml index 53506e44ac..3574634024 100644 --- a/.github/workflows/test_neutrinos.yml +++ b/.github/workflows/test_neutrinos.yml @@ -5,7 +5,7 @@ jobs: test_neutrinos: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/test_nse_interp.yml b/.github/workflows/test_nse_interp.yml index 26f1ec6503..23c1e7fe51 100644 --- a/.github/workflows/test_nse_interp.yml +++ b/.github/workflows/test_nse_interp.yml @@ -5,7 +5,7 @@ jobs: test_nse_interp: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/test_rhs.yml b/.github/workflows/test_rhs.yml index ceb8acf10a..61baa013f5 100644 --- a/.github/workflows/test_rhs.yml +++ b/.github/workflows/test_rhs.yml @@ -5,7 +5,7 @@ jobs: test_rhs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0