feat(core): migrate to rust #346
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Verify v14-alpha | |
on: | |
pull_request: | |
branches: | |
- v14-alpha | |
push: | |
branches: | |
- v14-alpha | |
jobs: | |
lint-and-test: | |
name: Lint and test | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install rust toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
components: rustfmt, clippy | |
- name: Set up cargo cache | |
uses: Swatinem/rust-cache@v2 | |
- name: Install just | |
uses: extractions/setup-just@v1 | |
with: | |
just-version: 1.35.0 | |
- name: Check cargo | |
run: just check-cargo | |
- name: Lint formatting | |
run: just check-formatting | |
- name: Lint clippy | |
run: just check-clippy | |
- name: Cargo test | |
run: just test |