Skip to content

Commit 3186967

Browse files
authored
Upgrade ci checkout version. (#2136)
* Bump checkout@v2 to v4 * Roll back to v3.
1 parent e7501cd commit 3186967

10 files changed

+16
-16
lines changed

.github/workflows/ci-auto-commit-linux.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Add safe directory
2525
run: git config --global --add safe.directory $GITHUB_WORKSPACE
2626
- name: Checkout
27-
uses: actions/checkout@v2
27+
uses: actions/checkout@v3
2828
with:
2929
ref: master
3030
- name: Install SMARTS

.github/workflows/ci-auto-commit-mac.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: macos-11
1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v2
17+
uses: actions/checkout@v3
1818
with:
1919
ref: master
2020
- name: Set up Python

.github/workflows/ci-base-tests-linux.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- ./examples/tests/test_examples.py
2424
steps:
2525
- name: Checkout
26-
uses: actions/checkout@v2
26+
uses: actions/checkout@v3
2727
- name: Install dependencies
2828
run: |
2929
python3.8 -m venv ${{env.venv_dir}}
@@ -76,7 +76,7 @@ jobs:
7676
- e11_platoon
7777
steps:
7878
- name: Checkout
79-
uses: actions/checkout@v2
79+
uses: actions/checkout@v3
8080
- name: Install dependencies
8181
run: |
8282
cd ${GITHUB_WORKSPACE}/examples/${{matrix.tests}}
@@ -108,7 +108,7 @@ jobs:
108108
- e11_platoon
109109
steps:
110110
- name: Checkout
111-
uses: actions/checkout@v2
111+
uses: actions/checkout@v3
112112
- name: Install dependencies
113113
run: |
114114
cd ${GITHUB_WORKSPACE}

.github/workflows/ci-base-tests-mac.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- ./smarts/ray
2727
steps:
2828
- name: Checkout
29-
uses: actions/checkout@v2
29+
uses: actions/checkout@v3
3030
with:
3131
ref: master
3232
- name: Setup Python

.github/workflows/ci-format.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
container: ghcr.io/smarts-project/smarts:v0.6.1-minimal
1313
steps:
1414
- name: Checkout
15-
uses: actions/checkout@v2
15+
uses: actions/checkout@v3
1616
- name: Check header
1717
run: |
1818
cd $GITHUB_WORKSPACE
@@ -24,7 +24,7 @@ jobs:
2424
container: ghcr.io/smarts-project/smarts:v0.6.1-minimal
2525
steps:
2626
- name: Checkout
27-
uses: actions/checkout@v2
27+
uses: actions/checkout@v3
2828
- name: Check docstring
2929
run: |
3030
cd $GITHUB_WORKSPACE
@@ -51,7 +51,7 @@ jobs:
5151
- name: Add safe directory
5252
run: git config --global --add safe.directory $GITHUB_WORKSPACE
5353
- name: Checkout
54-
uses: actions/checkout@v2
54+
uses: actions/checkout@v3
5555
with:
5656
fetch-depth: 0
5757
- name: Install SMARTS
@@ -85,7 +85,7 @@ jobs:
8585
- name: Add safe directory
8686
run: git config --global --add safe.directory $GITHUB_WORKSPACE
8787
- name: Checkout
88-
uses: actions/checkout@v2
88+
uses: actions/checkout@v3
8989
with:
9090
fetch-depth: 0
9191
- name: Install Enchant
@@ -123,7 +123,7 @@ jobs:
123123
- name: Add safe directory
124124
run: git config --global --add safe.directory $GITHUB_WORKSPACE
125125
- name: Checkout
126-
uses: actions/checkout@v2
126+
uses: actions/checkout@v3
127127
with:
128128
fetch-depth: 0
129129
- name: Install SMARTS with all extras and check for conflicts

.github/workflows/ci-pull-request.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
container: ghcr.io/smarts-project/smarts:v0.6.1-minimal
1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v2
17+
uses: actions/checkout@v3
1818
- name: Setup package
1919
run: |
2020
cd $GITHUB_WORKSPACE

.github/workflows/ci-python-version-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
matrix:
1616
python-version: ['3.8', '3.9', '3.10', '3.11']
1717
steps:
18-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@v3
1919
- name: Set up Python ${{ matrix.python-version }}
2020
uses: actions/setup-python@v4
2121
with:

.github/workflows/ci-test-learning.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
container: ghcr.io/smarts-project/smarts:v0.6.1-minimal
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v2
20+
uses: actions/checkout@v3
2121
with:
2222
ref: master
2323
- name: Setup package

.github/workflows/ci-test-long-determinism.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
container: ghcr.io/smarts-project/smarts:v0.6.1-minimal
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v2
20+
uses: actions/checkout@v3
2121
with:
2222
ref: master
2323
- name: Setup package

.github/workflows/ci-test-memory-growth.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
container: ghcr.io/smarts-project/smarts:v0.6.1-minimal
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v2
20+
uses: actions/checkout@v3
2121
with:
2222
ref: master
2323
- name: Setup package

0 commit comments

Comments
 (0)