Update .forgejo/workflows/ci.yaml
Some checks failed
Build & Test / build-run (push) Failing after 24s
Some checks failed
Build & Test / build-run (push) Failing after 24s
This commit is contained in:
parent
beaa76f996
commit
cfae51c43f
1 changed files with 7 additions and 5 deletions
|
@ -9,14 +9,16 @@ jobs:
|
||||||
image: alpine
|
image: alpine
|
||||||
steps:
|
steps:
|
||||||
- name: Get Dependancies
|
- name: Get Dependancies
|
||||||
run: apk add rustup deno git nodejs pkgconfig openssl openssl-dev
|
run: apk add curl gcc deno git nodejs pkgconfig openssl openssl-dev
|
||||||
- name: Install Rust
|
- name: download Rustup
|
||||||
run: /usr/bin/rustup-init -y
|
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly
|
||||||
|
- name: configure new path
|
||||||
|
run: source $HOME/.cargo/env
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
deno-version: v2.x
|
deno-version: v2.x
|
||||||
- name: Build using Cargo
|
- name: Build using Cargo
|
||||||
run: ~/.cargo/bin/cargo build --verbose
|
run: cargo build --verbose
|
||||||
- name: Run unit tests
|
- name: Run unit tests
|
||||||
run: ~/.cargo/bin/cargo test --verbose
|
run: cargo test --verbose
|
||||||
|
|
Loading…
Add table
Reference in a new issue