Skip to content

Commit

Permalink
Refactor Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Jan 7, 2025
1 parent c1b1ce5 commit 4bf4f18
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
name: main
on:
- pull_request
- push
jobs:
main:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@v1
with:
toolchain: stable
components: rustfmt, clippy
- run: cargo fmt --check && cargo clippy --all-targets --all-features
- run: cargo check --all-features
- run: cargo test
coverage:
- run: cargo install cargo-tarpaulin && cargo tarpaulin --out xml
- uses: codecov/codecov-action@v5
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@v1
with:
toolchain: stable
- run: cargo install cargo-tarpaulin && cargo tarpaulin --out xml
- uses: codecov/codecov-action@v4
components: clippy, rustfmt
- run: cargo fmt --check && cargo clippy --all-targets --all-features
- run: cargo check --all-features
- run: cargo test
name: main
on:
- pull_request
- push

0 comments on commit 4bf4f18

Please # to comment.