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
58 changes: 0 additions & 58 deletions .github/scripts/gen_dockerfile.sh

This file was deleted.

39 changes: 0 additions & 39 deletions .github/scripts/package.sh

This file was deleted.

28 changes: 28 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
pull_request:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
test:
runs-on: ubuntu-latest
Expand All @@ -25,6 +29,10 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ matrix.rust}}
- uses: Swatinem/rust-cache@v2
with:
shared-key: ci-test-${{ runner.os }}-${{ matrix.rust }}
cache-workspace-crates: "true"
- name: Build
run: cargo build --all-features
- name: Cargo Test
Expand All @@ -42,6 +50,10 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- uses: Swatinem/rust-cache@v2
with:
shared-key: ci-test-windows-${{ runner.os }}-stable
cache-workspace-crates: "true"
- name: Build
run: cargo build --all-features
- name: Cargo Test
Expand All @@ -59,6 +71,10 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- uses: Swatinem/rust-cache@v2
with:
shared-key: ci-test-macos-${{ runner.os }}-stable
cache-workspace-crates: "true"
- name: Build
run: cargo build --all-features
- name: Cargo Test
Expand All @@ -84,6 +100,10 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- uses: Swatinem/rust-cache@v2
with:
shared-key: ci-release-build-${{ runner.os }}-stable
cache-workspace-crates: "true"
- name: Build (release)
run: cargo build --release --all-features

Expand All @@ -98,6 +118,10 @@ jobs:
with:
toolchain: stable
components: clippy
- uses: Swatinem/rust-cache@v2
with:
shared-key: ci-clippy-${{ runner.os }}-stable
cache-workspace-crates: "true"
- run: cargo clippy --all-features

unused-deps:
Expand All @@ -108,6 +132,10 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- uses: Swatinem/rust-cache@v2
with:
shared-key: ci-unused-deps-${{ runner.os }}-stable
cache-workspace-crates: "true"
- name: Install machete
run: cargo install cargo-machete
- name: Check for unused dependencies
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/cli_regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
pull_request:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
test:
runs-on: ubuntu-latest
Expand Down
Loading
Loading