-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
9 changed files
with
56 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,33 +6,32 @@ on: | |
- 'benchmarking_*' | ||
- 'main' | ||
pull_request: | ||
branches: | ||
- 'main' | ||
- '*/*' | ||
schedule: | ||
- cron: '0 0 * * 1' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
just_variants: | ||
- async_std | ||
- tokio | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: styfle/[email protected] | ||
name: Cancel Outdated Builds | ||
- name: Cancel Outdated Builds | ||
uses: styfle/[email protected] | ||
with: | ||
all_but_latest: true | ||
access_token: ${{ github.token }} | ||
|
||
- uses: actions/checkout@v4 | ||
name: Checkout Repository | ||
- name: Checkout Repository | ||
uses: actions/checkout@v4 | ||
|
||
- uses: Swatinem/rust-cache@v2 | ||
name: Enable Rust Caching | ||
- name: Enable Rust Caching | ||
uses: Swatinem/rust-cache@v2 | ||
|
||
- name: Install dependencies | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,9 +4,6 @@ on: | |
branches: | ||
- 'main' | ||
pull_request: | ||
branches: | ||
- 'main' | ||
- '*/*' | ||
schedule: | ||
- cron: '0 0 * * 1' | ||
workflow_dispatch: | ||
|
@@ -16,8 +13,8 @@ jobs: | |
runs-on: ubuntu-latest | ||
timeout-minutes: 35 | ||
steps: | ||
- uses: styfle/[email protected] | ||
name: Cancel Outdated Builds | ||
- name: Cancel Outdated Builds | ||
uses: styfle/[email protected] | ||
with: | ||
all_but_latest: true | ||
access_token: ${{ github.token }} | ||
|
@@ -31,12 +28,11 @@ jobs: | |
sudo apt-get install -y protobuf-compiler | ||
cargo install just | ||
- uses: Swatinem/rust-cache@v2 | ||
name: Enable Rust Caching | ||
- name: Enable Rust Caching | ||
uses: Swatinem/rust-cache@v2 | ||
|
||
- name: Build Docs | ||
run: | | ||
just async_std doc | ||
run: just async_std doc | ||
|
||
- name: Create documentation | ||
if: ${{ github.ref == 'refs/heads/main' }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,32 +5,36 @@ on: | |
branches: | ||
- 'main' | ||
pull_request: | ||
branches: | ||
- 'main' | ||
- '*/*' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
lints: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 25 | ||
steps: | ||
- uses: styfle/[email protected] | ||
name: Cancel Outdated Builds | ||
- name: Cancel Outdated Builds | ||
uses: styfle/[email protected] | ||
with: | ||
all_but_latest: true | ||
access_token: ${{ github.token }} | ||
|
||
- name: Install Nix | ||
uses: cachix/install-nix-action@v23 | ||
|
||
- uses: actions/checkout@v4 | ||
name: Checkout Repository | ||
- name: Nix Caching | ||
uses: cachix/cachix-action@v12 | ||
with: | ||
name: espresso-systems-private | ||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | ||
|
||
- name: Checkout Repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Format Check | ||
run: cargo fmt -- --check | ||
|
||
- name: Clippy | ||
run: | | ||
nix develop -c just async_std lint | ||
nix develop -c just tokio lint | ||
- name: Clippy async_std | ||
run: nix develop -c just async_std lint | ||
|
||
- name: Clippy tokio | ||
run: nix develop -c just tokio lint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters