try
This commit is contained in:
parent
5fec65e38f
commit
d0adee74da
@ -1,12 +1,6 @@
|
|||||||
name: CI/CD Pipeline
|
name: CI/CD Pipeline
|
||||||
|
|
||||||
on:
|
on: push
|
||||||
push:
|
|
||||||
inputs:
|
|
||||||
rust-version:
|
|
||||||
type: string
|
|
||||||
required: false
|
|
||||||
default: nightly
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
CARGO_TARGET: x86_64-unknown-linux-musl
|
CARGO_TARGET: x86_64-unknown-linux-musl
|
||||||
@ -22,18 +16,18 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Run Test DB Script
|
- name: Run Test DB Script
|
||||||
run: ./test_db.sh
|
run: ./test_db.sh
|
||||||
|
|
||||||
- name: Set up cargo cache
|
- name: Set up cargo cache
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
continue-on-error: false
|
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.cargo/bin/
|
~/.cargo/bin/
|
||||||
~/.cargo/registry/index/
|
~/.cargo/registry/index/
|
||||||
~/.cargo/registry/cache/
|
~/.cargo/registry/cache/
|
||||||
~/.cargo/git/db/
|
~/.cargo/git/db/
|
||||||
target/
|
target/
|
||||||
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
||||||
restore-keys: ${{ runner.os }}-cargo-
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
cargo build
|
cargo build
|
||||||
|
Loading…
Reference in New Issue
Block a user