From 8a3c2905a2df4cfafbb34240822f3723def32250 Mon Sep 17 00:00:00 2001 From: MARCHAND MANON Date: Mon, 6 Nov 2023 13:55:48 +0100 Subject: [PATCH] update actions dependencies --- .github/workflows/bench.yml | 4 ++-- .github/workflows/deploy_doc.yml | 6 +++--- .github/workflows/deploy_pypi.yml | 16 ++++++++-------- .github/workflows/test.yml | 20 ++++++++++---------- 4 files changed, 23 insertions(+), 23 deletions(-) diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml index c680406..8b3312a 100644 --- a/.github/workflows/bench.yml +++ b/.github/workflows/bench.yml @@ -19,11 +19,11 @@ jobs: python-version: [3.8] steps: - name: "Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}" - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: "Checkout the branch ${{ github.head_ref }}" - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ github.head_ref }} - name: "Install virtual env, build project and run benches" diff --git a/.github/workflows/deploy_doc.yml b/.github/workflows/deploy_doc.yml index 64de59c..ee405e6 100644 --- a/.github/workflows/deploy_doc.yml +++ b/.github/workflows/deploy_doc.yml @@ -22,11 +22,11 @@ jobs: runs-on: ubuntu-latest steps: - name: "Checkout branch ${{ github.head_ref }}" - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ github.head_ref }} - name: "Set up Python 3.11 on Ubuntu" - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: '3.11' - name: "Build doc" @@ -53,7 +53,7 @@ jobs: # Switch of the virtualenv deactivate - name: "Publish doc on github pages (commit on branch gh-pages)" - uses: JamesIves/github-pages-deploy-action@4.1.0 + uses: JamesIves/github-pages-deploy-action@v4 with: branch: gh-pages folder: docs/_build/html/ diff --git a/.github/workflows/deploy_pypi.yml b/.github/workflows/deploy_pypi.yml index 6dc7812..036a954 100644 --- a/.github/workflows/deploy_pypi.yml +++ b/.github/workflows/deploy_pypi.yml @@ -28,8 +28,8 @@ jobs: # We are now in CentOS 7 64 bits steps: - name: "Checkout the full project" - uses: actions/checkout@v3 - # We need to install rust in the docker image (else, cargo is already available in github action) + uses: actions/checkout@v4 + # We need to install rust in the docker image (else, cargo is already available in github action) - name: "Install Rust" run: | curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y @@ -100,7 +100,7 @@ jobs: img: quay.io/pypa/manylinux2014_i686 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: "Set up QEMU" id: qemu uses: docker/setup-qemu-action@v1 @@ -134,7 +134,7 @@ jobs: img: quay.io/pypa/manylinux2014_aarch64 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: "Set up QEMU" id: qemu uses: docker/setup-qemu-action@v1 @@ -168,10 +168,10 @@ jobs: python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] steps: # Checkout the project - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 # Set up python, see https://docs.github.com/en/actions/guides/building-and-testing-python - name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} # For secrets, see https://docs.github.com/en/actions/reference/encrypted-secrets @@ -203,10 +203,10 @@ jobs: python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] steps: # Checkout the project - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 # Set up python, see https://docs.github.com/en/actions/guides/building-and-testing-python - name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} # For secrets, see https://docs.github.com/en/actions/reference/encrypted-secrets diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8d02a73..69e8470 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,8 +23,8 @@ jobs: # We are now in CentOS 7 64 bits steps: - name: "Checkout the full project" - uses: actions/checkout@v3 - # We need to install rust in the docker image (else, cargo is already available in github action) + uses: actions/checkout@v4 + # We need to install rust in the docker image (else, cargo is already available in github action) - name: "Install Rust" run: | curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y @@ -57,7 +57,7 @@ jobs: # img: quay.io/pypa/manylinux2014_aarch64 # steps: # - name: Checkout - # uses: actions/checkout@v3 + # uses: actions/checkout@v4 # - name: "Set up QEMU" # id: qemu # uses: docker/setup-qemu-action@v1 @@ -96,7 +96,7 @@ jobs: steps: # Checkout the project - name: "Checkout branch ${{ github.head_ref }}" - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ github.head_ref }} # Test Rust code @@ -104,7 +104,7 @@ jobs: # run: cargo test --verbose -- --nocapture # Set up python, see https://docs.github.com/en/actions/guides/building-and-testing-python - name: "Set up Python ${{ matrix.python-version }} on MacOS" - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} # Test python code @@ -142,7 +142,7 @@ jobs: steps: # Checkout the project - name: "Checkout branch ${{ github.head_ref }}" - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ github.head_ref }} # Test Rust code @@ -150,7 +150,7 @@ jobs: # run: cargo test --verbose -- --nocapture # Set up python, see https://docs.github.com/en/actions/guides/building-and-testing-python - name: "Set up Python ${{ matrix.python-version }} on Windows" - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} # Test python code @@ -180,13 +180,13 @@ jobs: runs-on: ubuntu-latest steps: - name: "Checkout branch ${{ github.head_ref }}" - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ github.head_ref }} - - name: "Set up Python 3.9 on Ubuntu" + - name: "Set up Python 3.11 on Ubuntu" uses: actions/setup-python@v4 with: - python-version: '3.9' + python-version: '3.11' - name: "Build and test doc" run: | # Install virtualenv