Skip to content

Fix mismatched cargoDeps in nix and update attribute syntax #1104

Fix mismatched cargoDeps in nix and update attribute syntax

Fix mismatched cargoDeps in nix and update attribute syntax #1104

Workflow file for this run

name: CI
on:
push:
branches:
- 'develop'
- 'releases/*'
pull_request:
branches:
- 'develop'
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v18
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- name: Caching cargo
uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-nix-rustc-v1-1.55.0-${{ hashFiles('Cargo.lock') }}
restore-keys: |
${{ runner.os }}-nix-rustc-v1-1.55.0-
- run: nix develop -c bash scripts/build.sh -ad
- run: nix develop -c cargo test
cargo-deny:
runs-on: ubuntu-20.04
strategy:
matrix:
checks:
- bans licenses sources
steps:
- uses: actions/checkout@v4
- uses: EmbarkStudios/cargo-deny-action@v1
with:
command: check ${{ matrix.checks }}
format:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Check Rustfmt
run: cargo fmt -- --check
spell-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: crate-ci/typos@master