Skip to content

Commit

Permalink
Merge pull request #828 from dusk-network/ci-827
Browse files Browse the repository at this point in the history
Update actions checkout and codecov
  • Loading branch information
HDauven authored Jun 19, 2024
2 parents 6c221e1 + d1dd8f4 commit 372319e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/dusk_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,31 +21,31 @@ jobs:
name: Build Benchmarks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- run: cargo bench --no-run

run_examples:
name: Run Examples
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- run: cargo run --release --example circuit

build_docs:
name: Build Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- run: make doc
- run: make doc-internal

build_no_std:
name: Build no_std
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: rustup target add thumbv6m-none-eabi
- uses: Swatinem/rust-cache@v2

Expand All @@ -59,7 +59,7 @@ jobs:
name: Test with all features
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- run: sudo apt install -y kcov
- run: RUSTFLAGS='-Cdebuginfo=2 -Cinline-threshold=0 -Clink-dead-code' cargo test --release --no-run --all-features
Expand All @@ -68,7 +68,7 @@ jobs:
find target/release/deps -type f -executable ! -name "*.*" |
xargs -n1 kcov --exclude-pattern=/.cargo,/usr/lib --verify target/cov
- name: Upload coverage
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{secrets.CODECOV_TOKEN}}

Expand Down

0 comments on commit 372319e

Please sign in to comment.