Skip to content

Commit

Permalink
♻️ Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
clabby committed Oct 22, 2023
1 parent 04d56c9 commit b2ce9aa
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
name: Rust CI
on: [push]

env:
CARGO_TERM_COLOR: always

jobs:
cargo-tests:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Install xsltproc
run: sudo apt-get install -y xsltproc
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
Expand All @@ -17,14 +22,17 @@ jobs:
- uses: Swatinem/rust-cache@v1
with:
cache-on-failure: true
- uses: taiki-e/install-action@nextest
- name: cargo test
run: cargo test --all --all-features
run: cargo nextest run --all --all-features
cargo-lint:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Install xsltproc
run: sudo apt-get install -y xsltproc
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
Expand Down Expand Up @@ -66,6 +74,8 @@ jobs:
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Install xsltproc
run: sudo apt-get install -y xsltproc
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
Expand Down

0 comments on commit b2ce9aa

Please sign in to comment.