Skip to content

Commit

Permalink
update formatters
Browse files Browse the repository at this point in the history
  • Loading branch information
kayhhh committed Jan 2, 2025
1 parent 8c0ca88 commit 4c69c07
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 13 deletions.
1 change: 0 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
version: 2

updates:
- package-ecosystem: cargo
directory: /
Expand Down
8 changes: 0 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
name: CI

on:
push:
branches:
- main
pull_request:

jobs:
check:
runs-on: ubuntu-latest
Expand All @@ -19,27 +17,21 @@ jobs:
remove-dotnet: true
remove-haskell: true
remove-large-packages: true

- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
submodules: true

- uses: DeterminateSystems/flake-checker-action@v9
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: Swatinem/rust-cache@v2

- run: nix develop -c cargo deny check
- run: nix develop -c cargo component check

- run: nix develop -c cargo clippy --all-features --fix --no-deps --allow-dirty
- run: nix fmt

- uses: EndBug/add-and-commit@v9
with:
message: "chore: lint"
default_author: github_actions

- run: nix develop -c cargo doc --all-features --no-deps
- run: nix develop -c cargo test --all-features
3 changes: 0 additions & 3 deletions .prettierignore

This file was deleted.

4 changes: 3 additions & 1 deletion treefmt.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@
{
projectRootFile = "flake.nix";
programs = {
actionlint.enable = true;
mdformat.enable = true;
nixfmt.enable = true;
prettier.enable = true;
rustfmt.enable = true;
taplo.enable = true;
terraform.enable = true;
yamlfmt.enable = true;
};
}

0 comments on commit 4c69c07

Please sign in to comment.