Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 16 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,23 @@ jobs:
rust-typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/asdf
- name: Checkout repository
uses: actions/checkout@v3

- name: Setup Rust environment
uses: ./.github/actions/asdf
with:
rust: true
- run: cargo test

- name: Check if Cargo.lock needs updating
# See: https://users.rust-lang.org/t/check-if-the-cargo-lock-is-up-to-date-without-building-anything/91048/6
run: cargo update -w --locked
working-directory: bindings/rust
- run: cargo check

- name: Run tests
run: cargo test
working-directory: bindings/rust

- name: Run cargo check
run: cargo check
working-directory: cmd/scip/tests/reprolang
Loading