Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .config/nextest.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[profile.default]
slow-timeout = { period = "60s", terminate-after = 2 }
fail-fast = false
68 changes: 68 additions & 0 deletions .github/workflows/quality.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: Quality

on:
pull_request:
workflow_dispatch:

permissions:
contents: read

concurrency:
group: quality-${{ github.ref }}
cancel-in-progress: true

jobs:
tests:
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-24.04
timeout: timeout
- os: macos-14
timeout: gtimeout
runs-on: ${{ matrix.os }}
timeout-minutes: 5
steps:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803
with:
persist-credentials: false
- if: matrix.os == 'macos-14'
run: brew install coreutils
timeout-minutes: 2
- run: ${{ matrix.timeout }} -k 5 120 rustup toolchain install 1.95 --profile minimal
- uses: taiki-e/install-action@1e29709c0ec63babbe8f266397a465f29a825f91
with:
tool: cargo-nextest@0.9.138
- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0
- run: ${{ matrix.timeout }} -k 5 270 cargo +1.95 nextest run --locked
- run: ${{ matrix.timeout }} -k 5 60 cargo +1.95 test --manifest-path fixtures/handoff/Cargo.toml --locked --tests
- if: matrix.os == 'macos-14'
run: shasum -a256 target/debug/allstack > target/debug/allstack.sha256
- if: matrix.os == 'macos-14'
run: git rev-parse HEAD > target/debug/allstack.commit
- if: matrix.os == 'macos-14'
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f
with:
name: allstack-macos-14
path: |
target/debug/allstack
target/debug/allstack.sha256
target/debug/allstack.commit
if-no-files-found: error
retention-days: 3
source-and-dependencies:
runs-on: ubuntu-24.04
timeout-minutes: 5
steps:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803
with:
persist-credentials: false
- run: timeout -k 5 120 rustup toolchain install 1.95 --profile minimal --component clippy,rustfmt
- uses: taiki-e/install-action@1e29709c0ec63babbe8f266397a465f29a825f91
with:
tool: cargo-deny@0.19.2
- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0
- run: timeout -k 5 60 cargo +1.95 fmt --all -- --check
- run: timeout -k 5 90 cargo +1.95 deny check
- run: timeout -k 5 270 cargo +1.95 clippy --all-targets --locked -- -D warnings
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
/.prime/
/.env
/.env.*
/target/
**/target/
.DS_Store
Loading
Loading