Skip to content

Commit

Permalink
Update some actions version in generate ci cli (#1916)
Browse files Browse the repository at this point in the history
  • Loading branch information
SigureMo authored Jan 22, 2024
1 parent 0770b58 commit 17775ab
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions src/ci.rs
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ jobs:\n",
// job steps
conf.push_str(
" steps:
- uses: actions/checkout@v3\n",
- uses: actions/checkout@v4\n",
);

// install pyodide-build for emscripten
Expand All @@ -261,7 +261,7 @@ jobs:\n",
actions-cache-folder: emsdk-cache\n",
);
conf.push_str(
" - uses: actions/setup-python@v4
" - uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}\n",
);
Expand All @@ -271,7 +271,7 @@ jobs:\n",
// setup python on demand
if setup_python {
conf.push_str(
" - uses: actions/setup-python@v4
" - uses: actions/setup-python@v5
with:
python-version: '3.10'\n",
);
Expand Down Expand Up @@ -432,7 +432,7 @@ jobs:\n",
r#" sdist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Build sdist
uses: PyO3/maturin-action@v1
with:
Expand Down Expand Up @@ -546,8 +546,8 @@ mod tests {
matrix:
target: [x86_64, x86, aarch64, armv7, s390x, ppc64le]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Build wheels
Expand All @@ -569,8 +569,8 @@ mod tests {
matrix:
target: [x64, x86]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
architecture: ${{ matrix.target }}
Expand All @@ -592,8 +592,8 @@ mod tests {
matrix:
target: [x86_64, aarch64]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Build wheels
Expand All @@ -611,7 +611,7 @@ mod tests {
sdist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Build sdist
uses: PyO3/maturin-action@v1
with:
Expand Down Expand Up @@ -672,8 +672,8 @@ mod tests {
matrix:
target: [x86_64, x86, aarch64, armv7, s390x, ppc64le]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Build wheels
Expand All @@ -695,8 +695,8 @@ mod tests {
matrix:
target: [x64, x86]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
architecture: ${{ matrix.target }}
Expand All @@ -718,8 +718,8 @@ mod tests {
matrix:
target: [x86_64, aarch64]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Build wheels
Expand Down Expand Up @@ -792,8 +792,8 @@ mod tests {
matrix:
target: [x86_64, x86, aarch64, armv7, s390x, ppc64le]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Build wheels
Expand Down Expand Up @@ -838,8 +838,8 @@ mod tests {
matrix:
target: [x64, x86]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
architecture: ${{ matrix.target }}
Expand Down Expand Up @@ -869,8 +869,8 @@ mod tests {
matrix:
target: [x86_64, aarch64]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Build wheels
Expand All @@ -896,7 +896,7 @@ mod tests {
sdist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Build sdist
uses: PyO3/maturin-action@v1
with:
Expand Down Expand Up @@ -957,7 +957,7 @@ mod tests {
matrix:
target: [x86_64, x86, aarch64, armv7, s390x, ppc64le]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
Expand All @@ -977,7 +977,7 @@ mod tests {
matrix:
target: [x64, x86]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
Expand All @@ -996,7 +996,7 @@ mod tests {
matrix:
target: [x86_64, aarch64]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
Expand All @@ -1012,7 +1012,7 @@ mod tests {
sdist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Build sdist
uses: PyO3/maturin-action@v1
with:
Expand Down

0 comments on commit 17775ab

Please sign in to comment.