From 859f6ea836f3e0a080eb2aa900f89776fc407431 Mon Sep 17 00:00:00 2001 From: dante <45801863+alexander-camuto@users.noreply.github.com> Date: Mon, 4 Sep 2023 22:30:54 +0100 Subject: [PATCH] ci: actions checkout v4 (#459) --- .github/workflows/benchmarks.yml | 24 ++- .github/workflows/large-tests.yml | 2 +- .github/workflows/pypi.yml | 258 +++++++++++++++--------------- .github/workflows/release.yml | 225 +++++++++++++------------- .github/workflows/rust.yml | 36 ++--- .github/workflows/tagging.yml | 3 +- .github/workflows/wasm.yml | 2 +- 7 files changed, 271 insertions(+), 279 deletions(-) diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index 5b3513d28..ea1c004d1 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -9,7 +9,7 @@ jobs: bench_elgamal: runs-on: self-hosted steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions-rs/toolchain@v1 with: toolchain: nightly-2023-06-27 @@ -21,7 +21,7 @@ jobs: bench_poseidon: runs-on: self-hosted steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions-rs/toolchain@v1 with: toolchain: nightly-2023-06-27 @@ -34,7 +34,7 @@ jobs: runs-on: self-hosted needs: [bench_poseidon] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions-rs/toolchain@v1 with: toolchain: nightly-2023-06-27 @@ -47,7 +47,7 @@ jobs: runs-on: self-hosted needs: [bench_poseidon] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions-rs/toolchain@v1 with: toolchain: nightly-2023-06-27 @@ -60,7 +60,7 @@ jobs: runs-on: self-hosted needs: [bench_poseidon] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions-rs/toolchain@v1 with: toolchain: nightly-2023-06-27 @@ -73,7 +73,7 @@ jobs: runs-on: self-hosted needs: [bench_poseidon] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions-rs/toolchain@v1 with: toolchain: nightly-2023-06-27 @@ -86,7 +86,7 @@ jobs: runs-on: self-hosted needs: [bench_poseidon] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions-rs/toolchain@v1 with: toolchain: nightly-2023-06-27 @@ -99,7 +99,7 @@ jobs: runs-on: self-hosted needs: [bench_poseidon] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions-rs/toolchain@v1 with: toolchain: nightly-2023-06-27 @@ -112,7 +112,7 @@ jobs: runs-on: self-hosted needs: [bench_poseidon] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions-rs/toolchain@v1 with: toolchain: nightly-2023-06-27 @@ -125,7 +125,7 @@ jobs: runs-on: self-hosted needs: [bench_poseidon] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions-rs/toolchain@v1 with: toolchain: nightly-2023-06-27 @@ -138,7 +138,7 @@ jobs: runs-on: self-hosted needs: [bench_poseidon] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions-rs/toolchain@v1 with: toolchain: nightly-2023-06-27 @@ -146,5 +146,3 @@ jobs: components: rustfmt, clippy - name: Bench pairwise pow run: cargo bench --verbose --bench pairwise_pow - - diff --git a/.github/workflows/large-tests.yml b/.github/workflows/large-tests.yml index d466c4101..42d821362 100644 --- a/.github/workflows/large-tests.yml +++ b/.github/workflows/large-tests.yml @@ -8,7 +8,7 @@ jobs: large-tests: runs-on: self-hosted steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions-rs/toolchain@v1 with: toolchain: nightly-2022-11-03 diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 962f4d125..31f358300 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -17,7 +17,7 @@ jobs: matrix: target: [x86_64, universal2-apple-darwin] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: 3.7 @@ -28,10 +28,10 @@ jobs: env: RELEASE_TAG: ${{ github.ref_name }} run: | - mv Cargo.toml Cargo.toml.orig - sed "s/0\\.0\\.0/${RELEASE_TAG//v}/" Cargo.toml.orig >Cargo.toml - mv Cargo.lock Cargo.lock.orig - sed "s/0\\.0\\.0/${RELEASE_TAG//v}/" Cargo.lock.orig >Cargo.lock + mv Cargo.toml Cargo.toml.orig + sed "s/0\\.0\\.0/${RELEASE_TAG//v}/" Cargo.toml.orig >Cargo.toml + mv Cargo.lock Cargo.lock.orig + sed "s/0\\.0\\.0/${RELEASE_TAG//v}/" Cargo.lock.orig >Cargo.lock - uses: actions-rs/toolchain@v1 with: @@ -61,7 +61,7 @@ jobs: matrix: target: [x64, x86] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: 3.7 @@ -83,7 +83,6 @@ jobs: override: true components: rustfmt, clippy - - name: Build wheels uses: PyO3/maturin-action@v1 with: @@ -106,45 +105,45 @@ jobs: matrix: target: [x86_64, i686] steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 - with: - python-version: 3.7 - architecture: x64 - - - name: Set Cargo.toml version to match github tag - shell: bash - env: - RELEASE_TAG: ${{ github.ref_name }} - run: | - mv Cargo.toml Cargo.toml.orig - sed "s/0\\.0\\.0/${RELEASE_TAG//v}/" Cargo.toml.orig >Cargo.toml - mv Cargo.lock Cargo.lock.orig - sed "s/0\\.0\\.0/${RELEASE_TAG//v}/" Cargo.lock.orig >Cargo.lock - - - name: Install required libraries - shell: bash - run: | - sudo apt-get update && sudo apt-get install -y openssl pkg-config libssl-dev - - - name: Build wheels - uses: PyO3/maturin-action@v1 - with: - target: ${{ matrix.target }} - manylinux: auto - args: --release --out dist --features python-bindings - - - name: Install built wheel - if: matrix.target == 'x86_64' - run: | - pip install ezkl --no-index --find-links dist --force-reinstall - python -c "import ezkl" - - - name: Upload wheels - uses: actions/upload-artifact@v3 - with: - name: wheels - path: dist + - uses: actions/checkout@v4 + - uses: actions/setup-python@v4 + with: + python-version: 3.7 + architecture: x64 + + - name: Set Cargo.toml version to match github tag + shell: bash + env: + RELEASE_TAG: ${{ github.ref_name }} + run: | + mv Cargo.toml Cargo.toml.orig + sed "s/0\\.0\\.0/${RELEASE_TAG//v}/" Cargo.toml.orig >Cargo.toml + mv Cargo.lock Cargo.lock.orig + sed "s/0\\.0\\.0/${RELEASE_TAG//v}/" Cargo.lock.orig >Cargo.lock + + - name: Install required libraries + shell: bash + run: | + sudo apt-get update && sudo apt-get install -y openssl pkg-config libssl-dev + + - name: Build wheels + uses: PyO3/maturin-action@v1 + with: + target: ${{ matrix.target }} + manylinux: auto + args: --release --out dist --features python-bindings + + - name: Install built wheel + if: matrix.target == 'x86_64' + run: | + pip install ezkl --no-index --find-links dist --force-reinstall + python -c "import ezkl" + + - name: Upload wheels + uses: actions/upload-artifact@v3 + with: + name: wheels + path: dist # TODO: There's a problem with the maturin-action toolchain for arm arch leading to failed builds # linux-cross: @@ -153,7 +152,7 @@ jobs: # matrix: # target: [aarch64, armv7] # steps: - # - uses: actions/checkout@v3 + # - uses: actions/checkout@v4 # - uses: actions/setup-python@v4 # with: # python-version: 3.7 @@ -204,51 +203,51 @@ jobs: target: - x86_64-unknown-linux-musl steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 - with: - python-version: 3.7 - architecture: x64 - - - name: Set Cargo.toml version to match github tag - shell: bash - env: - RELEASE_TAG: ${{ github.ref_name }} - run: | - mv Cargo.toml Cargo.toml.orig - sed "s/0\\.0\\.0/${RELEASE_TAG//v}/" Cargo.toml.orig >Cargo.toml - mv Cargo.lock Cargo.lock.orig - sed "s/0\\.0\\.0/${RELEASE_TAG//v}/" Cargo.lock.orig >Cargo.lock - - - name: Install required libraries - shell: bash - run: | - sudo apt-get update && sudo apt-get install -y pkg-config libssl-dev - - - name: Build wheels - uses: PyO3/maturin-action@v1 - with: - target: ${{ matrix.target }} - manylinux: musllinux_1_2 - args: --release --out dist --features python-bindings - - - name: Install built wheel - if: matrix.target == 'x86_64-unknown-linux-musl' - uses: addnab/docker-run-action@v3 - with: - image: alpine:latest - options: -v ${{ github.workspace }}:/io -w /io + - uses: actions/checkout@v4 + - uses: actions/setup-python@v4 + with: + python-version: 3.7 + architecture: x64 + + - name: Set Cargo.toml version to match github tag + shell: bash + env: + RELEASE_TAG: ${{ github.ref_name }} + run: | + mv Cargo.toml Cargo.toml.orig + sed "s/0\\.0\\.0/${RELEASE_TAG//v}/" Cargo.toml.orig >Cargo.toml + mv Cargo.lock Cargo.lock.orig + sed "s/0\\.0\\.0/${RELEASE_TAG//v}/" Cargo.lock.orig >Cargo.lock + + - name: Install required libraries + shell: bash run: | - apk add py3-pip - pip3 install -U pip - pip3 install ezkl --no-index --find-links /io/dist/ --force-reinstall - python3 -c "import ezkl" + sudo apt-get update && sudo apt-get install -y pkg-config libssl-dev + + - name: Build wheels + uses: PyO3/maturin-action@v1 + with: + target: ${{ matrix.target }} + manylinux: musllinux_1_2 + args: --release --out dist --features python-bindings + + - name: Install built wheel + if: matrix.target == 'x86_64-unknown-linux-musl' + uses: addnab/docker-run-action@v3 + with: + image: alpine:latest + options: -v ${{ github.workspace }}:/io -w /io + run: | + apk add py3-pip + pip3 install -U pip + pip3 install ezkl --no-index --find-links /io/dist/ --force-reinstall + python3 -c "import ezkl" - - name: Upload wheels - uses: actions/upload-artifact@v3 - with: - name: wheels - path: dist + - name: Upload wheels + uses: actions/upload-artifact@v3 + with: + name: wheels + path: dist musllinux-cross: runs-on: ubuntu-latest @@ -260,46 +259,46 @@ jobs: - target: armv7-unknown-linux-musleabihf arch: armv7 steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 - with: - python-version: 3.7 - - - name: Set Cargo.toml version to match github tag - shell: bash - env: - RELEASE_TAG: ${{ github.ref_name }} - run: | - mv Cargo.toml Cargo.toml.orig - sed "s/0\\.0\\.0/${RELEASE_TAG//v}/" Cargo.toml.orig >Cargo.toml - mv Cargo.lock Cargo.lock.orig - sed "s/0\\.0\\.0/${RELEASE_TAG//v}/" Cargo.lock.orig >Cargo.lock - - - name: Build wheels - uses: PyO3/maturin-action@v1 - with: - target: ${{ matrix.platform.target }} - manylinux: musllinux_1_2 - args: --release --out dist --features python-bindings - - - uses: uraimo/run-on-arch-action@v2.5.0 - name: Install built wheel - with: - arch: ${{ matrix.platform.arch }} - distro: alpine_latest - githubToken: ${{ github.token }} - install: | - apk add py3-pip - pip3 install -U pip + - uses: actions/checkout@v4 + - uses: actions/setup-python@v4 + with: + python-version: 3.7 + + - name: Set Cargo.toml version to match github tag + shell: bash + env: + RELEASE_TAG: ${{ github.ref_name }} run: | - pip3 install ezkl --no-index --find-links dist/ --force-reinstall - python3 -c "import ezkl" + mv Cargo.toml Cargo.toml.orig + sed "s/0\\.0\\.0/${RELEASE_TAG//v}/" Cargo.toml.orig >Cargo.toml + mv Cargo.lock Cargo.lock.orig + sed "s/0\\.0\\.0/${RELEASE_TAG//v}/" Cargo.lock.orig >Cargo.lock - - name: Upload wheels - uses: actions/upload-artifact@v3 - with: - name: wheels - path: dist + - name: Build wheels + uses: PyO3/maturin-action@v1 + with: + target: ${{ matrix.platform.target }} + manylinux: musllinux_1_2 + args: --release --out dist --features python-bindings + + - uses: uraimo/run-on-arch-action@v2.5.0 + name: Install built wheel + with: + arch: ${{ matrix.platform.arch }} + distro: alpine_latest + githubToken: ${{ github.token }} + install: | + apk add py3-pip + pip3 install -U pip + run: | + pip3 install ezkl --no-index --find-links dist/ --force-reinstall + python3 -c "import ezkl" + + - name: Upload wheels + uses: actions/upload-artifact@v3 + with: + name: wheels + path: dist pypi-publish: name: Uploads release to PyPI @@ -309,7 +308,7 @@ jobs: if: "startsWith(github.ref, 'refs/tags/')" # TODO: Uncomment if linux-cross is working # needs: [ macos, windows, linux, linux-cross, musllinux, musllinux-cross ] - needs: [ macos, windows, linux, musllinux, musllinux-cross ] + needs: [macos, windows, linux, musllinux, musllinux-cross] steps: - uses: actions/download-artifact@v3 with: @@ -334,4 +333,3 @@ jobs: with: repository-url: https://test.pypi.org/legacy/ packages-dir: ./ - diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c2e5982fa..e13c7ba5e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,11 +3,11 @@ on: workflow_dispatch: inputs: tag: - description: 'The tag to release' + description: "The tag to release" required: true push: tags: - - '*' + - "*" jobs: create-release: name: create-release @@ -22,8 +22,8 @@ jobs: - name: Get release version from tag shell: bash run: | - echo "EZKL_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV - echo "version is: ${{ env.EZKL_VERSION }}" + echo "EZKL_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV + echo "version is: ${{ env.EZKL_VERSION }}" - name: Create Github Release id: create-release @@ -34,7 +34,7 @@ jobs: build-release: name: build-release - needs: ['create-release'] + needs: ["create-release"] runs-on: ${{ matrix.os }} env: CARGO: cargo @@ -46,115 +46,112 @@ jobs: matrix: build: [windows-msvc, macos, macos-aarch64, linux-musl, linux-gnu] include: - - build: windows-msvc - os: windows-latest - rust: nightly-2023-06-27 - target: x86_64-pc-windows-msvc - - build: macos - os: macos-13 - rust: nightly-2023-06-27 - target: x86_64-apple-darwin - - build: macos-aarch64 - os: macos-13 - rust: nightly-2023-06-27 - target: aarch64-apple-darwin - - build: linux-musl - os: ubuntu-22.04 - rust: nightly-2023-06-27 - target: x86_64-unknown-linux-musl - - build: linux-gnu - os: ubuntu-22.04 - rust: nightly-2023-06-27 - target: x86_64-unknown-linux-gnu + - build: windows-msvc + os: windows-latest + rust: nightly-2023-06-27 + target: x86_64-pc-windows-msvc + - build: macos + os: macos-13 + rust: nightly-2023-06-27 + target: x86_64-apple-darwin + - build: macos-aarch64 + os: macos-13 + rust: nightly-2023-06-27 + target: aarch64-apple-darwin + - build: linux-musl + os: ubuntu-22.04 + rust: nightly-2023-06-27 + target: x86_64-unknown-linux-musl + - build: linux-gnu + os: ubuntu-22.04 + rust: nightly-2023-06-27 + target: x86_64-unknown-linux-gnu steps: - - name: Checkout repo - uses: actions/checkout@v3 - - - name: Get release version from tag - shell: bash - run: | - echo "EZKL_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV - echo "version is: ${{ env.EZKL_VERSION }}" - - - name: Set Cargo.toml version to match github tag - shell: bash - run: | - mv Cargo.toml Cargo.toml.orig - sed "s/0\\.0\\.0/${EZKL_VERSION//v}/" Cargo.toml.orig >Cargo.toml - mv Cargo.lock Cargo.lock.orig - sed "s/0\\.0\\.0/${EZKL_VERSION//v}/" Cargo.lock.orig >Cargo.lock - - - name: Install dependencies - shell: bash - run: | - if [[ "${{ runner.os }}" == "Linux" ]]; then - sudo apt-get update && sudo apt-get install -y musl-tools - fi - - - name: Install Rust - uses: dtolnay/rust-toolchain@nightly - with: - target: ${{ matrix.target }} - - - name: Install Rust targets - run: rustup target add ${{ matrix.target }} - - - name: Use Cross - shell: bash - run: | - cargo install cross -Z sparse-registry - if [[ "${{ matrix.os }}" == "macos-13" ]]; then - echo "CC=clang" >> $GITHUB_ENV - elif [[ "${{ matrix.os }}" == "ubuntu-22.04" ]]; then - echo "CC=gcc" >> $GITHUB_ENV - fi - echo "CARGO=cross" >> $GITHUB_ENV - echo "TARGET_FLAGS=--target ${{ matrix.target }}" >> $GITHUB_ENV - echo "TARGET_DIR=./target/${{ matrix.target }}" >> $GITHUB_ENV - - - - name: Show command used for Cargo - run: | - echo "cargo command is: ${{ env.CARGO }}" - echo "target flag is: ${{ env.TARGET_FLAGS }}" - echo "target dir is: ${{ env.TARGET_DIR }}" - - - name: Build release binary - run: ${{ env.CARGO }} build --release ${{ env.TARGET_FLAGS }} -Z sparse-registry - - - name: Strip release binary - if: matrix.build != 'windows-msvc' - run: strip "target/${{ matrix.target }}/release/ezkl" - - - name: Strip release binary (Windows) - if: matrix.build == 'windows-msvc' - run: strip "target/${{ matrix.target }}/release/ezkl.exe" - - - - name: Build archive - if: matrix.build != 'win-msvc' - shell: bash - run: | - mkdir -p build-artifacts - tar czvf build-artifacts/ezkl-${{ matrix.build }}.tar.gz -C "target/${{ matrix.target }}/release" ezkl - echo "ASSET=build-artifacts/ezkl-${{ matrix.build }}.tar.gz" >> $GITHUB_ENV - - - name: Build archive (Windows) - if: matrix.build == 'win-msvc' - shell: bash - run: | - mkdir -p build-artifacts - powershell.exe -Command "Compress-Archive -Path 'target/${{ matrix.target }}/release/ezkl.exe' -DestinationPath 'build-artifacts/ezkl-win.zip'" - echo "ASSET=build-artifacts/ezkl-win.zip" >> $GITHUB_ENV - - - name: Upload release archive - uses: actions/upload-release-asset@v1.0.2 - env: - GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} - with: - upload_url: ${{ needs.create-release.outputs.upload_url }} - asset_path: ${{ env.ASSET }} - asset_name: ${{ env.ASSET }} - asset_content_type: application/octet-stream + - name: Checkout repo + uses: actions/checkout@v4 + - name: Get release version from tag + shell: bash + run: | + echo "EZKL_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV + echo "version is: ${{ env.EZKL_VERSION }}" + + - name: Set Cargo.toml version to match github tag + shell: bash + run: | + mv Cargo.toml Cargo.toml.orig + sed "s/0\\.0\\.0/${EZKL_VERSION//v}/" Cargo.toml.orig >Cargo.toml + mv Cargo.lock Cargo.lock.orig + sed "s/0\\.0\\.0/${EZKL_VERSION//v}/" Cargo.lock.orig >Cargo.lock + + - name: Install dependencies + shell: bash + run: | + if [[ "${{ runner.os }}" == "Linux" ]]; then + sudo apt-get update && sudo apt-get install -y musl-tools + fi + + - name: Install Rust + uses: dtolnay/rust-toolchain@nightly + with: + target: ${{ matrix.target }} + + - name: Install Rust targets + run: rustup target add ${{ matrix.target }} + + - name: Use Cross + shell: bash + run: | + cargo install cross -Z sparse-registry + if [[ "${{ matrix.os }}" == "macos-13" ]]; then + echo "CC=clang" >> $GITHUB_ENV + elif [[ "${{ matrix.os }}" == "ubuntu-22.04" ]]; then + echo "CC=gcc" >> $GITHUB_ENV + fi + echo "CARGO=cross" >> $GITHUB_ENV + echo "TARGET_FLAGS=--target ${{ matrix.target }}" >> $GITHUB_ENV + echo "TARGET_DIR=./target/${{ matrix.target }}" >> $GITHUB_ENV + + - name: Show command used for Cargo + run: | + echo "cargo command is: ${{ env.CARGO }}" + echo "target flag is: ${{ env.TARGET_FLAGS }}" + echo "target dir is: ${{ env.TARGET_DIR }}" + + - name: Build release binary + run: ${{ env.CARGO }} build --release ${{ env.TARGET_FLAGS }} -Z sparse-registry + + - name: Strip release binary + if: matrix.build != 'windows-msvc' + run: strip "target/${{ matrix.target }}/release/ezkl" + + - name: Strip release binary (Windows) + if: matrix.build == 'windows-msvc' + run: strip "target/${{ matrix.target }}/release/ezkl.exe" + + - name: Build archive + if: matrix.build != 'win-msvc' + shell: bash + run: | + mkdir -p build-artifacts + tar czvf build-artifacts/ezkl-${{ matrix.build }}.tar.gz -C "target/${{ matrix.target }}/release" ezkl + echo "ASSET=build-artifacts/ezkl-${{ matrix.build }}.tar.gz" >> $GITHUB_ENV + + - name: Build archive (Windows) + if: matrix.build == 'win-msvc' + shell: bash + run: | + mkdir -p build-artifacts + powershell.exe -Command "Compress-Archive -Path 'target/${{ matrix.target }}/release/ezkl.exe' -DestinationPath 'build-artifacts/ezkl-win.zip'" + echo "ASSET=build-artifacts/ezkl-win.zip" >> $GITHUB_ENV + + - name: Upload release archive + uses: actions/upload-release-asset@v1.0.2 + env: + GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} + with: + upload_url: ${{ needs.create-release.outputs.upload_url }} + asset_path: ${{ env.ASSET }} + asset_name: ${{ env.ASSET }} + asset_content_type: application/octet-stream diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index c7912fc5c..97d69617b 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -23,7 +23,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions-rs/toolchain@v1 with: toolchain: nightly-2023-08-24 @@ -35,7 +35,7 @@ jobs: docs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions-rs/toolchain@v1 with: toolchain: nightly-2023-08-24 @@ -47,7 +47,7 @@ jobs: library-tests: runs-on: ubuntu-latest-32-cores steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions-rs/toolchain@v1 with: toolchain: nightly-2023-08-24 @@ -66,7 +66,7 @@ jobs: model-serialization: runs-on: 256gb steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions-rs/toolchain@v1 with: toolchain: nightly-2023-08-24 @@ -85,7 +85,7 @@ jobs: runs-on: ubuntu-latest # needs: [build, library-tests, docs] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions-rs/toolchain@v1 with: toolchain: nightly-2023-08-24 @@ -108,7 +108,7 @@ jobs: runs-on: ubuntu-latest needs: [build, library-tests, docs] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions-rs/toolchain@v1 with: toolchain: nightly-2023-08-24 @@ -125,7 +125,7 @@ jobs: runs-on: self-hosted # needs: [build, library-tests, docs] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions-rs/toolchain@v1 with: toolchain: nightly-2023-08-24 @@ -178,7 +178,7 @@ jobs: runs-on: ubuntu-latest-16-cores needs: [build, library-tests, python-tests] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions-rs/toolchain@v1 with: toolchain: nightly-2023-08-24 @@ -211,7 +211,7 @@ jobs: runs-on: ubuntu-latest-32-cores needs: [build, library-tests, python-tests] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions-rs/toolchain@v1 with: toolchain: nightly-2023-08-24 @@ -236,7 +236,7 @@ jobs: runs-on: ubuntu-latest-32-cores needs: [build, library-tests, python-tests] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions-rs/toolchain@v1 with: toolchain: nightly-2023-08-24 @@ -259,7 +259,7 @@ jobs: runs-on: ubuntu-latest-32-cores needs: [build, library-tests] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions-rs/toolchain@v1 with: toolchain: nightly-2023-08-24 @@ -276,7 +276,7 @@ jobs: runs-on: large-self-hosted needs: [build, library-tests, python-tests] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions-rs/toolchain@v1 with: toolchain: nightly-2023-08-24 @@ -298,7 +298,7 @@ jobs: # python-tests, # ] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions-rs/toolchain@v1 with: toolchain: nightly-2023-08-24 @@ -321,7 +321,7 @@ jobs: runs-on: ubuntu-latest-32-cores needs: [build, library-tests, docs] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions-rs/toolchain@v1 with: toolchain: nightly-2023-08-24 @@ -340,7 +340,7 @@ jobs: runs-on: ubuntu-latest needs: [build, library-tests, docs] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions-rs/toolchain@v1 with: toolchain: nightly-2023-08-24 @@ -357,7 +357,7 @@ jobs: runs-on: 256gb needs: [build, library-tests, docs] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: "3.7" @@ -381,7 +381,7 @@ jobs: runs-on: ubuntu-latest-32-cores # needs: [build, library-tests, docs] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: "3.7" @@ -428,7 +428,7 @@ jobs: - 5432:5432 # needs: [build, library-tests, docs] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: "3.9" diff --git a/.github/workflows/tagging.yml b/.github/workflows/tagging.yml index 38019b12e..dc07470c2 100644 --- a/.github/workflows/tagging.yml +++ b/.github/workflows/tagging.yml @@ -11,10 +11,9 @@ jobs: contents: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Bump version and push tag id: tag_version uses: mathieudutour/github-tag-action@v6.1 with: github_token: ${{ secrets.GITHUB_TOKEN }} - diff --git a/.github/workflows/wasm.yml b/.github/workflows/wasm.yml index 4da464118..b6f64b7fb 100644 --- a/.github/workflows/wasm.yml +++ b/.github/workflows/wasm.yml @@ -14,7 +14,7 @@ jobs: name: publish-wasm-bindings runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions-rs/toolchain@v1 with: toolchain: nightly-2023-08-24