mirror of
https://old.git.ood.ovh/nehu/tokio-messaging.git
synced 2025-04-28 22:27:04 +02:00
Reactivate the build step
This was, the test step is performed after a successful build and doesn't trigger a build on its own.
This commit is contained in:
parent
0391fd1bf4
commit
37d99a70c2
1 changed files with 18 additions and 19 deletions
37
.github/workflows/rust.yml
vendored
37
.github/workflows/rust.yml
vendored
|
@ -27,28 +27,27 @@ jobs:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Check
|
- name: Check
|
||||||
run: cargo check
|
run: cargo check
|
||||||
# TODO: not needed for now
|
build:
|
||||||
# build:
|
|
||||||
# runs-on: ubuntu-latest
|
|
||||||
# needs: check
|
|
||||||
# steps:
|
|
||||||
# - name: Cache
|
|
||||||
# uses: actions/cache@v3.0.11
|
|
||||||
# with:
|
|
||||||
# path: |
|
|
||||||
# ~/.cargo/bin/
|
|
||||||
# ~/.cargo/registry/index/
|
|
||||||
# ~/.cargo/registry/cache/
|
|
||||||
# ~/.cargo/git/db/
|
|
||||||
# ~/cargo-target/
|
|
||||||
# key: "rust-build"
|
|
||||||
# - uses: actions/checkout@v3
|
|
||||||
# - name: Build
|
|
||||||
# run: cargo build
|
|
||||||
test:
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: check
|
needs: check
|
||||||
steps:
|
steps:
|
||||||
|
- name: Cache
|
||||||
|
uses: actions/cache@v3.0.11
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
~/.cargo/bin/
|
||||||
|
~/.cargo/registry/index/
|
||||||
|
~/.cargo/registry/cache/
|
||||||
|
~/.cargo/git/db/
|
||||||
|
~/cargo-target/
|
||||||
|
key: "rust-build"
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: Build
|
||||||
|
run: cargo build
|
||||||
|
test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: build
|
||||||
|
steps:
|
||||||
- name: Cache
|
- name: Cache
|
||||||
uses: actions/cache@v3.0.11
|
uses: actions/cache@v3.0.11
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Add table
Reference in a new issue