|
|
|
@@ -18,7 +18,11 @@ jobs: |
|
|
|
- uses: actions/checkout@v3 |
|
|
|
- uses: r7kamura/rust-problem-matchers@v1.1.0 |
|
|
|
- run: cargo --version --verbose |
|
|
|
- uses: Swatinem/rust-cache@v2 |
|
|
|
- name: Run sccache-cache |
|
|
|
uses: mozilla-actions/sccache-action@v0.0.3 |
|
|
|
env: |
|
|
|
SCCACHE_GHA_ENABLED: "true" |
|
|
|
RUSTC_WRAPPER: "sccache" |
|
|
|
|
|
|
|
- name: "Check" |
|
|
|
run: cargo check --all |
|
|
|
@@ -39,7 +43,11 @@ jobs: |
|
|
|
|
|
|
|
- uses: r7kamura/rust-problem-matchers@v1.1.0 |
|
|
|
- run: cargo --version --verbose |
|
|
|
- uses: Swatinem/rust-cache@v2 |
|
|
|
- name: Run sccache-cache |
|
|
|
uses: mozilla-actions/sccache-action@v0.0.3 |
|
|
|
env: |
|
|
|
SCCACHE_GHA_ENABLED: "true" |
|
|
|
RUSTC_WRAPPER: "sccache" |
|
|
|
|
|
|
|
- name: "Build examples" |
|
|
|
timeout-minutes: 30 |
|
|
|
@@ -72,7 +80,11 @@ jobs: |
|
|
|
|
|
|
|
- uses: r7kamura/rust-problem-matchers@v1.1.0 |
|
|
|
- run: cargo --version --verbose |
|
|
|
- uses: Swatinem/rust-cache@v2 |
|
|
|
- name: Run sccache-cache |
|
|
|
uses: mozilla-actions/sccache-action@v0.0.3 |
|
|
|
env: |
|
|
|
SCCACHE_GHA_ENABLED: "true" |
|
|
|
RUSTC_WRAPPER: "sccache" |
|
|
|
|
|
|
|
- name: "Build cli and binaries" |
|
|
|
timeout-minutes: 30 |
|
|
|
@@ -104,7 +116,11 @@ jobs: |
|
|
|
|
|
|
|
- uses: r7kamura/rust-problem-matchers@v1.1.0 |
|
|
|
- run: cargo --version --verbose |
|
|
|
- uses: Swatinem/rust-cache@v2 |
|
|
|
- name: Run sccache-cache |
|
|
|
uses: mozilla-actions/sccache-action@v0.0.3 |
|
|
|
env: |
|
|
|
SCCACHE_GHA_ENABLED: "true" |
|
|
|
RUSTC_WRAPPER: "sccache" |
|
|
|
|
|
|
|
- name: "Remote Rust Dataflow example" |
|
|
|
if: false # skip this example for now until we uploaded new test nodes |
|
|
|
@@ -119,7 +135,11 @@ jobs: |
|
|
|
|
|
|
|
- uses: r7kamura/rust-problem-matchers@v1.1.0 |
|
|
|
- run: cargo --version --verbose |
|
|
|
- uses: Swatinem/rust-cache@v2 |
|
|
|
- name: Run sccache-cache |
|
|
|
uses: mozilla-actions/sccache-action@v0.0.3 |
|
|
|
env: |
|
|
|
SCCACHE_GHA_ENABLED: "true" |
|
|
|
RUSTC_WRAPPER: "sccache" |
|
|
|
|
|
|
|
- name: "Clippy" |
|
|
|
run: cargo clippy --all |
|
|
|
@@ -147,7 +167,11 @@ jobs: |
|
|
|
|
|
|
|
- uses: r7kamura/rust-problem-matchers@v1.1.0 |
|
|
|
- run: cargo --version --verbose |
|
|
|
- uses: Swatinem/rust-cache@v2 |
|
|
|
- name: Run sccache-cache |
|
|
|
uses: mozilla-actions/sccache-action@v0.0.3 |
|
|
|
env: |
|
|
|
SCCACHE_GHA_ENABLED: "true" |
|
|
|
RUSTC_WRAPPER: "sccache" |
|
|
|
|
|
|
|
- run: cargo install cargo-lichking |
|
|
|
- name: "Check dependency licenses" |
|
|
|
|