Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI #489

Closed
wants to merge 13 commits into from
Closed
Binary file removed .DS_Store
Milo123459 marked this conversation as resolved.
Outdated
Show resolved Hide resolved
Binary file not shown.
30 changes: 20 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,18 @@ jobs:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- run: cargo fmt --all -- --check
- run: cargo check --workspace --locked
- run: cargo clippy --all-targets --all-features
- name: checkout
uses: actions/checkout@v4
- name: install rust
uses: dtolnay/rust-toolchain@stable
- name: cache dependencies
uses: Swatinem/rust-cache@v2
- name: check formatting
run: cargo fmt --all -- --check
- name: cargo check
run: cargo check --workspace --locked
- name: clippy
run: cargo clippy --all-targets --all-features

test-plan:
name: Tests
Expand All @@ -27,7 +33,11 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- run: cargo test
- name: checkout
uses: actions/checkout@v4
- name: install rust
uses: dtolnay/rust-toolchain@stable
- name: cahce dependencies
Milo123459 marked this conversation as resolved.
Show resolved Hide resolved
uses: Swatinem/rust-cache@v2
- name: test
run: cargo test
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/target
node_modules
bin/railway
bin/railway
.DS_Store