Skip to content

Merge pull request #194 from NotAShelf/master #30

Merge pull request #194 from NotAShelf/master

Merge pull request #194 from NotAShelf/master #30

Workflow file for this run

name: "Build with Cargo"
on:
workflow_call:
workflow_dispatch:
push:
branches: ["master"]
pull_request:
branches: ["master"]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: cachix/install-nix-action@v26
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: nicknovitski/nix-develop@v1
- uses: actions-rs/toolchain@v1
name: Install rust toolchain
with:
toolchain: nightly
override: true
- uses: Swatinem/rust-cache@v2
name: Add caching
- uses: actions-rs/cargo@v1
name: Build crate
with:
command: build
args: --verbose