Skip to content

Commit

Permalink
fix: add shell to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
o-az authored Nov 10, 2024
1 parent 4593296 commit 046fd78
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,20 @@ jobs:
run: nix profile install nixpkgs#devenv

- name: Format
shell: devenv shell bash -- -e {0}
run: |
taplo fmt *.toml
cargo fmt --all --check
nixfmt *.nix --width=100
sqlfluff format --dialect sqlite schema.sql
- name: Lint
shell: devenv shell bash -- -e {0}
run: |
taplo lint *.toml
sqlfluff lint --dialect sqlite schema.sql
cargo clippy --all-targets --all-features -- -D warnings
- name: Build
run: |
# runs: `cargo build --release --target wasm32-unknown-unknown`
build
shell: devenv shell bash -- -e {0}
run: cargo build --release --target wasm32-unknown-unknown

0 comments on commit 046fd78

Please sign in to comment.