Skip to content

Commit

Permalink
Revert "flake.nix, workflows: use Nix for clippy/fmt to start."
Browse files Browse the repository at this point in the history
This reverts commit 270c6ee.
  • Loading branch information
kivikakk committed Apr 28, 2024
1 parent cd272a7 commit 05f5503
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 341 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,16 +79,17 @@ jobs:
run: cargo +stable build --locked --release --all-features
clippy_format:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v1
with:
submodules: true
- uses: actions/checkout@v3
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v4
- name: Run the Magic Nix Cache
uses: DeterminateSystems/magic-nix-cache-action@v2
- name: Obtain Rust
run: rustup override set ${{ matrix.rust }}
- name: Check clippy
run: nix build .#checks.x86_64-linux.comrak-clippy -L
run: rustup component add clippy && cargo clippy
- name: Check formatting
run: nix build .#checks.x86_64-linux.comrak-fmt -L
run: rustup component add rustfmt && cargo fmt -- --check
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ benches/cmark-gfm
benches/comrak-*
benches/pulldown-cmark
benches/markdown-it
/result*
199 changes: 0 additions & 199 deletions flake.lock

This file was deleted.

133 changes: 0 additions & 133 deletions flake.nix

This file was deleted.

0 comments on commit 05f5503

Please sign in to comment.