Debug CI
This commit is contained in:
parent
4ae8c48cd6
commit
b7dbc6ad50
3 changed files with 9 additions and 3 deletions
10
.github/workflows/release-plugin.yml
vendored
10
.github/workflows/release-plugin.yml
vendored
|
|
@ -1,10 +1,14 @@
|
||||||
name: Release Obsidian plugin
|
name: Release Obsidian plugin
|
||||||
|
|
||||||
|
# on:
|
||||||
|
# push:
|
||||||
|
# tags:
|
||||||
|
# - "*"
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
branches: ["master"]
|
||||||
- "*"
|
pull_request:
|
||||||
|
branches: ["master"]
|
||||||
env:
|
env:
|
||||||
CARGO_TERM_COLOR: always
|
CARGO_TERM_COLOR: always
|
||||||
|
|
||||||
|
|
|
||||||
1
.github/workflows/rust.yml
vendored
1
.github/workflows/rust.yml
vendored
|
|
@ -21,6 +21,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
rustup install nightly
|
rustup install nightly
|
||||||
rustup default nightly
|
rustup default nightly
|
||||||
|
rustup component add clippy
|
||||||
cargo install sqlx-cli
|
cargo install sqlx-cli
|
||||||
cd backend
|
cd backend
|
||||||
sqlx database create --database-url sqlite://db.sqlite3
|
sqlx database create --database-url sqlite://db.sqlite3
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,7 @@ FROM rust:1.83 AS builder
|
||||||
WORKDIR /usr/src/backend
|
WORKDIR /usr/src/backend
|
||||||
|
|
||||||
RUN apt update && apt install -y musl-tools
|
RUN apt update && apt install -y musl-tools
|
||||||
|
RUN rustup install nightly && rustup default nightly
|
||||||
RUN rustup target add x86_64-unknown-linux-musl
|
RUN rustup target add x86_64-unknown-linux-musl
|
||||||
RUN cargo install sqlx-cli
|
RUN cargo install sqlx-cli
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue