Skip to content

Commit

Permalink
Minor improvement to justfile
Browse files Browse the repository at this point in the history
  • Loading branch information
paraseba committed Oct 6, 2024
1 parent 33779e4 commit bfd4c45
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/rust-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,5 @@ jobs:

- name: Check
if: matrix.os == 'ubuntu-latest' || github.event_name == 'push'
env:
AWS_ACCESS_KEY_ID: minio123
AWS_SECRET_ACCESS_KEY: minio123
AWS_ALLOW_HTTP: 1
AWS_ENDPOINT_URL: http://localhost:9000
AWS_DEFAULT_REGION: "us-east-1"
run: |
just pre-commit
9 changes: 8 additions & 1 deletion Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,11 @@ run-all-examples:
for example in icechunk/examples/*.rs; do cargo run --example "$(basename "${example%.rs}")"; done

# run all checks that CI actions will run
pre-commit $RUSTFLAGS="-D warnings -W unreachable-pub -W bare-trait-objects": (compile-tests "--locked") build (format "--check") lint test run-all-examples check-deps
pre-commit $RUSTFLAGS="-D warnings -W unreachable-pub -W bare-trait-objects":
just compile-tests "--locked"
just build
just format "--check"
just lint
just test
just run-all-examples
just check-deps

0 comments on commit bfd4c45

Please sign in to comment.