diff --git a/.github/workflows/c-linter.yml b/.github/workflows/c-linter.yml index 295ac4ede4..435a7fa60a 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 @@ -56,7 +56,7 @@ jobs: -run-linter - name: Archive clang tidy report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: clang-tidy-report path: clang-tidy-report.txt diff --git a/.github/workflows/check-ifdefs.yml b/.github/workflows/check-ifdefs.yml index 5558864238..3f4ab8daae 100644 --- a/.github/workflows/check-ifdefs.yml +++ b/.github/workflows/check-ifdefs.yml @@ -19,18 +19,9 @@ jobs: 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/check-makefiles.yml b/.github/workflows/check-makefiles.yml index 396393f383..33a21d604b 100644 --- a/.github/workflows/check-makefiles.yml +++ b/.github/workflows/check-makefiles.yml @@ -19,18 +19,9 @@ jobs: 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/check-params.yml b/.github/workflows/check-params.yml index 324a0eb05f..992e6b9be8 100644 --- a/.github/workflows/check-params.yml +++ b/.github/workflows/check-params.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 @@ -28,19 +28,10 @@ jobs: cd ../.. - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.11' - - 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- - - name: Run check-params run: | PYTHONPATH=external/Microphysics/util/build_scripts python .github/workflows/check_params.py . diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index f5191f1bd7..6964398e22 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 @@ -22,15 +22,7 @@ jobs: uses: actions/setup-python@v4 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/compiler-warnings.yml b/.github/workflows/compiler-warnings.yml index 1f95139323..0f6bd12fb1 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/detonation-sdc-compare.yml b/.github/workflows/detonation-sdc-compare.yml index b50dd3f91c..be850b35cf 100644 --- a/.github/workflows/detonation-sdc-compare.yml +++ b/.github/workflows/detonation-sdc-compare.yml @@ -5,7 +5,7 @@ jobs: detonation-sdc: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/docs-test.yml b/.github/workflows/docs-test.yml index 054ca5a8f5..be80c197fc 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- + python-version: '3.11' + cache: "pip" - name: Install dependencies run: pip install -r ./requirements.txt diff --git a/.github/workflows/exact_riemann.yml b/.github/workflows/exact_riemann.yml index d369a87e78..996684ba78 100644 --- a/.github/workflows/exact_riemann.yml +++ b/.github/workflows/exact_riemann.yml @@ -5,7 +5,7 @@ jobs: exact_riemann: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/flame_wave-compare.yml b/.github/workflows/flame_wave-compare.yml index efb4abccc0..46ad5b4285 100644 --- a/.github/workflows/flame_wave-compare.yml +++ b/.github/workflows/flame_wave-compare.yml @@ -5,7 +5,7 @@ jobs: flame_wave-2d: 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 d687274828..d5b3995fa3 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -10,7 +10,7 @@ jobs: deploy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install pandoc and doxygen run: | @@ -18,27 +18,16 @@ jobs: 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 @@ -48,7 +37,7 @@ jobs: GITHUB_BRANCH: 'main' run: ./deploy_docs_action.sh - - name: Build docs + - name: Build docs if: ${{ endsWith(github.ref, 'development') }} env: GITHUB_BRANCH: 'development' @@ -59,4 +48,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/gpu_action.yml b/.github/workflows/gpu_action.yml index 10843ef256..6861161cbb 100644 --- a/.github/workflows/gpu_action.yml +++ b/.github/workflows/gpu_action.yml @@ -5,7 +5,7 @@ jobs: gpu-compilation: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/hip.yml b/.github/workflows/hip.yml index d00b3c9954..f74b1e7c7e 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/mhd-compare.yml b/.github/workflows/mhd-compare.yml index 8df15f2574..403ff79f5e 100644 --- a/.github/workflows/mhd-compare.yml +++ b/.github/workflows/mhd-compare.yml @@ -5,7 +5,7 @@ jobs: OrszagTang-3d: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/rad-compare.yml b/.github/workflows/rad-compare.yml index b123c972c8..775024000d 100644 --- a/.github/workflows/rad-compare.yml +++ b/.github/workflows/rad-compare.yml @@ -5,7 +5,7 @@ jobs: Rad2Tshock-1d: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/reacting-convergence-true-sdc.yml b/.github/workflows/reacting-convergence-true-sdc.yml index cc8dd1d471..bd810420f8 100644 --- a/.github/workflows/reacting-convergence-true-sdc.yml +++ b/.github/workflows/reacting-convergence-true-sdc.yml @@ -5,7 +5,7 @@ jobs: reacting-convergence-true-sdc: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/sedov-compare.yml b/.github/workflows/sedov-compare.yml index 06cfca49f4..dd484b8525 100644 --- a/.github/workflows/sedov-compare.yml +++ b/.github/workflows/sedov-compare.yml @@ -5,7 +5,7 @@ jobs: Sedov-3d: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/uniform_cube.yml b/.github/workflows/uniform_cube.yml index 33d7e8b5df..edff5a8494 100644 --- a/.github/workflows/uniform_cube.yml +++ b/.github/workflows/uniform_cube.yml @@ -5,7 +5,7 @@ jobs: uniform_cube: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/uniform_sphere.yml b/.github/workflows/uniform_sphere.yml index 1dbd01f90b..e9ad3b9e4e 100644 --- a/.github/workflows/uniform_sphere.yml +++ b/.github/workflows/uniform_sphere.yml @@ -5,7 +5,7 @@ jobs: uniform_sphere: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/wdmerger_collision-compare.yml b/.github/workflows/wdmerger_collision-compare.yml index cd1e9c8b5f..99551f09dd 100644 --- a/.github/workflows/wdmerger_collision-compare.yml +++ b/.github/workflows/wdmerger_collision-compare.yml @@ -5,7 +5,7 @@ jobs: wdmerger_collision-2d: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0