mirror of
https://old.git.ood.ovh/nehu/tokio-messaging.git
synced 2025-04-28 18:30:03 +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
|
||||
- name: Check
|
||||
run: cargo check
|
||||
# TODO: not needed for now
|
||||
# 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:
|
||||
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
|
||||
needs: build
|
||||
steps:
|
||||
- name: Cache
|
||||
uses: actions/cache@v3.0.11
|
||||
with:
|
||||
|
|
Loading…
Add table
Reference in a new issue