Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
dovahcrow committed Jan 23, 2024
1 parent 25dd258 commit ac49d89
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
pull_request:
branches:
- master
- prerelease
push:
branches:
- master
Expand All @@ -23,12 +22,8 @@ jobs:
env:
DEBIAN_FRONTEND: noninteractive

- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: rustfmt
default: true
- uses: dtolnay/[email protected]


- name: Install python
uses: actions/setup-python@v2
Expand All @@ -50,10 +45,8 @@ jobs:
run: just bootstrap-python

- name: Is the code formatted?
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all --manifest-path native/Cargo.toml -- --check -q
run: |
cargo fmt --all --manifest-path native/Cargo.toml -- --check -q
- name: Run tests
run: just test

0 comments on commit ac49d89

Please sign in to comment.