updated code and removed redundant code #24
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Task - Build Rust | |
on: | |
workflow_dispatch: | |
workflow_call: | |
push: | |
jobs: | |
rust_build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
# selecting a toolchain either by action or manual `rustup` calls should happen | |
# before the plugin, as the cache uses the current rustc version as its cache key | |
- run: rustup show | |
- uses: Swatinem/rust-cache@v2 | |
- name: Build the project | |
run: | | |
cargo build --release --workspace |