This repository has been archived by the owner on Oct 10, 2023. It is now read-only.
build(deps): bump actions/checkout from 3 to 4 #446
Workflow file for this run
This file contains 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: CI | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- 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@v4 | |
- 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@v4 | |
- 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@v4 | |
- 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@v4 | |
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@v4 | |
with: | |
fetch-depth: 0 | |
- uses: greut/eclint-action@v0 |