name: Build and Test Rust Package
on:
push:
branches:
- '**'
pull_request:
branches:
- main
jobs:
build-and-test:
uses: iExecBlockchainComputing/github-actions-workflows/.github/workflows/rust-build.yml@refactor/rust-build-workflow
with:
rust-version: '1.85.0'
run-audit: false
enable-cache: true
publish-crates-io: true
upload-artifact: false
secrets:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}