diff --git a/.github/workflows/benchmark_on_push.yml b/.github/workflows/benchmark_on_push.yml index 07747af58c..126f4d3a09 100644 --- a/.github/workflows/benchmark_on_push.yml +++ b/.github/workflows/benchmark_on_push.yml @@ -13,7 +13,7 @@ jobs: benchmarks: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.8 uses: actions/setup-python@v4 with: diff --git a/.github/workflows/create_release.yml b/.github/workflows/create_release.yml index 6280387e53..8d029d3bc5 100644 --- a/.github/workflows/create_release.yml +++ b/.github/workflows/create_release.yml @@ -17,7 +17,7 @@ jobs: python-version: [3.8] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Get current date run: | diff --git a/.github/workflows/lychee_url_checker.yml b/.github/workflows/lychee_url_checker.yml index a6735d2806..d727ca0784 100644 --- a/.github/workflows/lychee_url_checker.yml +++ b/.github/workflows/lychee_url_checker.yml @@ -24,7 +24,7 @@ jobs: restore-keys: cache-lychee- # check URLs with Lychee - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 # use stable version for now to avoid breaking changes - name: Lychee URL checker diff --git a/.github/workflows/periodic_benchmarks.yml b/.github/workflows/periodic_benchmarks.yml index 239f5fa5bb..ce0ad37cd2 100644 --- a/.github/workflows/periodic_benchmarks.yml +++ b/.github/workflows/periodic_benchmarks.yml @@ -19,7 +19,7 @@ jobs: benchmarks: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.8 uses: actions/setup-python@v4 with: @@ -58,7 +58,7 @@ jobs: - name: Install asv run: pip install asv - name: Checkout pybamm-bench repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: pybamm-team/pybamm-bench token: ${{ secrets.BENCH_PAT }} diff --git a/.github/workflows/publish_pypi.yml b/.github/workflows/publish_pypi.yml index 6d89da1387..54dd70d5a7 100644 --- a/.github/workflows/publish_pypi.yml +++ b/.github/workflows/publish_pypi.yml @@ -19,7 +19,7 @@ jobs: name: Build wheels on windows-latest runs-on: windows-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: 3.8 @@ -74,7 +74,7 @@ jobs: matrix: os: [ubuntu-latest, macos-latest] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: 3.8 @@ -135,7 +135,7 @@ jobs: python-version: [3.8] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} diff --git a/.github/workflows/run_benchmarks_over_history.yml b/.github/workflows/run_benchmarks_over_history.yml index 9cdcc0b2c0..6752e38800 100644 --- a/.github/workflows/run_benchmarks_over_history.yml +++ b/.github/workflows/run_benchmarks_over_history.yml @@ -22,7 +22,7 @@ jobs: benchmarks: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.8 uses: actions/setup-python@v4 with: @@ -59,7 +59,7 @@ jobs: - name: Install asv run: pip install asv - name: Checkout pybamm-bench repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: pybamm-team/pybamm-bench token: ${{ secrets.BENCH_PAT }} diff --git a/.github/workflows/run_periodic_tests.yml b/.github/workflows/run_periodic_tests.yml index f70a748800..663eb5cfca 100644 --- a/.github/workflows/run_periodic_tests.yml +++ b/.github/workflows/run_periodic_tests.yml @@ -32,7 +32,7 @@ jobs: if: ${{ needs.pre_job.outputs.should_skip != 'true' }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup python uses: actions/setup-python@v4 with: @@ -53,7 +53,7 @@ jobs: python-version: ["3.8", "3.9", "3.10", "3.11"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: @@ -127,7 +127,7 @@ jobs: python-version: ["3.8", "3.9", "3.10", "3.11"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install python & create virtualenv shell: bash run: | diff --git a/.github/workflows/test_on_push.yml b/.github/workflows/test_on_push.yml index 2fd4c92b2e..839d53306f 100644 --- a/.github/workflows/test_on_push.yml +++ b/.github/workflows/test_on_push.yml @@ -16,7 +16,7 @@ jobs: style: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup Python uses: actions/setup-python@v4 with: @@ -43,7 +43,7 @@ jobs: steps: - name: Check out PyBaMM repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Install and cache apt packages - name: Install Linux system dependencies @@ -123,7 +123,7 @@ jobs: steps: - name: Check out PyBaMM repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Install and cache apt packages - name: Install Linux system dependencies @@ -186,7 +186,7 @@ jobs: steps: - name: Check out PyBaMM repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Install and cache apt packages - name: Install Linux system dependencies @@ -266,7 +266,7 @@ jobs: steps: - name: Check out PyBaMM repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Install and cache apt packages - name: Install Linux system dependencies @@ -327,7 +327,7 @@ jobs: steps: - name: Check out PyBaMM repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Install and cache apt packages - name: Install Linux system dependencies diff --git a/.github/workflows/update_license.yml b/.github/workflows/update_license.yml index 718b24e6b7..4712b5dd94 100644 --- a/.github/workflows/update_license.yml +++ b/.github/workflows/update_license.yml @@ -13,7 +13,7 @@ jobs: if: github.repository_owner == 'pybamm-team' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Update year in license @@ -28,7 +28,7 @@ jobs: needs: license runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Update year in docs diff --git a/.github/workflows/update_version.yml b/.github/workflows/update_version.yml index c205603c88..7488c40aa2 100644 --- a/.github/workflows/update_version.yml +++ b/.github/workflows/update_version.yml @@ -13,7 +13,7 @@ jobs: python-version: [3.8] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 diff --git a/.github/workflows/work_precision_sets.yml b/.github/workflows/work_precision_sets.yml index 5be4d079f8..87eb068947 100644 --- a/.github/workflows/work_precision_sets.yml +++ b/.github/workflows/work_precision_sets.yml @@ -9,7 +9,7 @@ jobs: benchmarks_on_release: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup python uses: actions/setup-python@v4 with: