Skip to content

Update rust.yml

Update rust.yml #2

Workflow file for this run

name: Rust
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Cache cargo & target directories
uses: Swatinem/rust-cache@v2
- name: Build debug
run: cargo build --verbose
- name: Build release
run: cargo build --verbose --release
- name: Build slow-release
run: cargo build --verbose --profile slow-release