Update nix requirement from 0.26 to 0.30 #25
Workflow file for this run
This file contains hidden or 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: build | |
on: | |
push: | |
branches: [master, develop] | |
pull_request: | |
jobs: | |
build: | |
name: Build | |
strategy: | |
fail-fast: false | |
matrix: | |
platform: [ubuntu-latest, macos-latest, windows-latest] | |
toolchain: [stable] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- name: Checkout Sources | |
uses: actions/checkout@v5 | |
- name: Install Rust Toolchain | |
uses: actions-rs/[email protected] | |
with: | |
profile: minimal | |
toolchain: ${{ matrix.toolchain }} | |
override: true | |
components: rustfmt, clippy | |
- name: Check Code Format | |
uses: actions-rs/[email protected] | |
with: | |
command: fmt | |
args: -- --check | |
- name: Code Lint | |
uses: actions-rs/[email protected] | |
with: | |
command: clippy | |
args: --all-targets -- -D warnings | |
- name: Build | |
uses: actions-rs/[email protected] | |
with: | |
command: build | |
- name: Tests | |
uses: actions-rs/[email protected] | |
with: | |
command: test | |
- name: Examples | |
uses: actions-rs/[email protected] | |
env: | |
RUST_LOG: "trace" | |
with: | |
command: run | |
args: --all-features --example mutex -- 15 |