Skip to content

Commit

Permalink
Updating CI
Browse files Browse the repository at this point in the history
This is mostly just removing deprecation warnings for old checkout
actions. However, I noticed that doctests failed but CI didn't notice,
and I realized `--all-targets` didn't include doctests. By removing it,
doctests are run.
  • Loading branch information
ecton committed Jul 28, 2023
1 parent f70e621 commit 2660579
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- name: Install Rust
uses: hecrj/setup-rust-action@v1
- name: Cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.cargo/.crates.toml
Expand All @@ -22,7 +22,7 @@ jobs:
run: cargo -v install cargo-deny

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Audit
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/benches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Install Rust
uses: hecrj/setup-rust-action@v1

Expand All @@ -19,7 +19,7 @@ jobs:
- name: Run benchmarks
run: |
cargo bench
- name: Make plots have a solid white background
run: |
find target/criterion -name "*.svg" -exec sed -i 's/<svg/<svg style="background-color:#EEE;"/g' {} \;
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Install Rust
uses: hecrj/setup-rust-action@v1

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- name: Install Rust
uses: hecrj/setup-rust-action@v1

- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Generate Docs
run: |
cargo doc --no-deps --all-features
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Install Rust
uses: hecrj/setup-rust-action@v1
Expand All @@ -18,4 +18,4 @@ jobs:
- name: Run unit tests
run: |
cargo test --all-features --all-targets
cargo test --all-features

0 comments on commit 2660579

Please sign in to comment.