Skip to content

Commit

Permalink
Merge torrust#331: vairous chores and small improvements
Browse files Browse the repository at this point in the history
f59b16e ci: update testing workflow (Cameron Garnham)
4dc795f chore: update cargo lockfile (Cameron Garnham)
5495658 ci: small fixes (Cameron Garnham)

Pull request description:

ACKs for top commit:
  da2ce7:
    ACK f59b16e

Tree-SHA512: e99bd3808ddaa7818a4507841ec066647a83d070fb98553e7370677c0342b2b84ab1d7761bbb1e653e4bd33feaa1282c45360ee8e5ba66d7ffe1921773b9cbac
  • Loading branch information
da2ce7 committed Oct 12, 2023
2 parents e3775d8 + f59b16e commit f43da9e
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 77 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,4 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}
files: ${{ steps.coverage.outputs.report }}
verbose: true
fail_ci_if_error: true
fail_ci_if_error: true
2 changes: 1 addition & 1 deletion .github/workflows/labels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ jobs:
with:
config-file: .github/labels.json
delete-other-labels: true
token: ${{ secrets.UPDATE_ISSUES }}
token: ${{ secrets.UPDATE_LABELS }}
20 changes: 8 additions & 12 deletions .github/workflows/testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
steps:
- id: checkout
name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- id: setup
name: Setup Toolchain
Expand Down Expand Up @@ -44,13 +44,13 @@ jobs:
steps:
- id: checkout
name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- id: setup
name: Setup Toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: nightly
toolchain: ${{ matrix.toolchain }}
components: clippy

- id: cache
Expand All @@ -65,14 +65,10 @@ jobs:
name: Run Lint Checks
run: cargo clippy --tests --benches --examples --workspace --all-targets --all-features -- -D clippy::correctness -D clippy::suspicious -D clippy::complexity -D clippy::perf -D clippy::style -D clippy::pedantic

- id: testdoc
name: Run Documentation Tests
- id: doc
name: Run Documentation Checks
run: cargo test --doc

- id: builddoc
name: Build Documentation
run: cargo doc --no-deps --bins --examples --workspace --all-features

unit:
name: Units
runs-on: ubuntu-latest
Expand All @@ -85,7 +81,7 @@ jobs:
steps:
- id: checkout
name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- id: setup
name: Setup Toolchain
Expand Down Expand Up @@ -123,15 +119,15 @@ jobs:
steps:
- id: checkout
name: Checkout Repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- id: setup
name: Setup Toolchain
uses: dtolnay/rust-toolchain@stable

- id: cache
name: Enable Job Cache
uses: Swatinem/rust-cache@v2
uses: Swatinem/rust-cache@v2

- id: test
name: Run Integration Tests
Expand Down
Loading

0 comments on commit f43da9e

Please sign in to comment.