Skip to content
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.

Mechanical migration to FlakeHub #443

Mechanical migration to FlakeHub

Mechanical migration to FlakeHub #443

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: [main]
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Check rustfmt
run: nix develop --command cargo fmt -- --check
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Build
run: nix build -L
NixFlakeCheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: DeterminateSystems/flake-checker-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
with:
fail-mode: true
Spelling:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: codespell-project/codespell-problem-matcher@v1
- name: Check Spelling
run: nix develop --command codespell --ignore-words-list crate,pullrequest,pullrequests .
NixFormatting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Check nixpkgs-fmt formatting
run: nix develop --command sh -c "git ls-files '*.nix' | xargs nixpkgs-fmt --check"
EditorConfig:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: greut/eclint-action@v0