Skip to content

Commit

Permalink
Merge pull request #3308 from pybamm-team/dependabot/github_actions/a…
Browse files Browse the repository at this point in the history
…ctions/checkout-4

Bump actions/checkout from 3 to 4
  • Loading branch information
Saransh-cpp authored Sep 4, 2023
2 parents ea4cc7b + 845ad84 commit c1c7c29
Show file tree
Hide file tree
Showing 11 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/benchmark_on_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
python-version: [3.8]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Get current date
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lychee_url_checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/periodic_benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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 }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/run_benchmarks_over_history.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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 }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/run_periodic_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down Expand Up @@ -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: |
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test_on_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update_license.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/work_precision_sets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit c1c7c29

Please sign in to comment.