Skip to content

Commit

Permalink
unify into one yaml file
Browse files Browse the repository at this point in the history
  • Loading branch information
amika-sq committed Dec 1, 2023
1 parent 24fe4fa commit 004043e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 25 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ env:
CARGO_TERM_COLOR: always

jobs:
build-and-test:
test:
name: cargo test
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
Expand All @@ -24,7 +25,17 @@ jobs:
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: ${{ matrix.rust }}
- name: Build
run: cargo build --verbose --workspace
- name: Test
run: cargo test --verbose --workspace
run: cargo test --workspace
format:
name: cargo fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Rustfmt
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
components: rustfmt
- name: Rustfmt Check
uses: actions-rust-lang/rustfmt@v1
21 changes: 0 additions & 21 deletions .github/workflows/rustfmt.yml

This file was deleted.

0 comments on commit 004043e

Please sign in to comment.