Test new build stuff
Some checks failed
Build Project / test (push) Failing after 42s

This commit is contained in:
2025-11-04 21:39:53 +00:00
parent 2e9b685789
commit 986ad8f457
3 changed files with 5 additions and 9 deletions

View File

@@ -7,7 +7,7 @@ jobs:
test:
runs-on: ubuntu-latest
container:
image: rust:latest
image: gitea.tobiasmaier.me/tobimai/devcontainer-rust:1.91
services:
db:
image: postgres:latest
@@ -24,14 +24,12 @@ jobs:
- 5432:5432
steps:
- name: Install necessary dependencies
run: apt update && apt install nodejs pkg-config -y
- name: Install docker
run: curl -fsSL get.docker.com -o get-docker.sh && sh get-docker.sh
- name: Checkout Code
uses: actions/checkout@v2
- name: Run migrations
run: cargo install sqlx-cli && sqlx migrate run
run: sqlx migrate run
- name: Build server binary
run: cargo build --release
- name: Set up Docker Buildx

View File

@@ -6,7 +6,7 @@ jobs:
test:
runs-on: ubuntu-latest
container:
image: rust:latest
image: gitea.tobiasmaier.me/tobimai/devcontainer-rust:1.91
services:
db:
image: postgres:latest
@@ -23,12 +23,10 @@ jobs:
- 5432:5432
steps:
- name: Install necessary dependencies
run: apt update && apt install nodejs pkg-config -y
- name: Checkout Code
uses: actions/checkout@v2
- name: Run migrations
run: cargo install sqlx-cli && sqlx migrate run
run: sqlx migrate run
- name: Running cargo build
run: cargo build --release
- name: Running cargo build

View File

@@ -1,6 +1,6 @@
use std::{fs, path::PathBuf};
use log::{error, info};
use log::{debug, error, info};
use semver::Version;
use std::str::FromStr;
use thiserror::Error;