Skip to content

Commit

Permalink
Actions changes
Browse files Browse the repository at this point in the history
  • Loading branch information
iph committed Apr 27, 2023
1 parent 5fc7903 commit 5e3609e
Showing 1 changed file with 14 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ on:
name: Checks

jobs:
correctness:
name: correctness
lint_and_format:
name: Lint and Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -17,11 +17,6 @@ jobs:
override: true
components: rustfmt, clippy
# Ensure build.rs has ran before we assert formatting...
- name: Run tests
uses: actions-rs/cargo@v1
with:
command: test
args: --verbose
- name: Check formatting
uses: actions-rs/cargo@v1
with:
Expand All @@ -32,3 +27,15 @@ jobs:
with:
command: clippy
args: --manifest-path ./Cargo.toml -- -Adead-code -D warnings
testing:
name: Run Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Tests with Coverage
run: bash tasks/coverage.sh

0 comments on commit 5e3609e

Please sign in to comment.