Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rygine committed Aug 23, 2024
1 parent d455f56 commit f10fff0
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,30 @@ env:
CARGO_TERM_COLOR: always

jobs:
build-test:
build-lint-test:
# runs-on: warp-ubuntu-latest-x64-16x
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Update rust toolchains
run: rustup update

- name: Cache
uses: Swatinem/rust-cache@v2
with:
workspaces: |
.
- name: Build
run: cargo build --verbose
run: cargo build

- name: Run clippy and fail on warnings
run: cargo clippy --all-features --all-targets --no-deps -- -Dwarnings

- name: Run format check
run: cargo fmt --check

- name: Test
run: cargo test --verbose
run: cargo test

0 comments on commit f10fff0

Please sign in to comment.