Replaced .github workflow with gitea workflow
Some checks failed
Build & test / build (push) Failing after 5s

This commit is contained in:
2024-10-05 14:56:34 +02:00
parent 25b708a6fd
commit 8df3809a6a
2 changed files with 2 additions and 2 deletions

View File

@ -0,0 +1,18 @@
name: Build & test
on:
push:
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose

View File

@ -0,0 +1,16 @@
name: Deploy image to server, build and run
on:
push:
branches: [ master ]
jobs:
deploy:
name: Build and run
runs-on: host
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Run
run: docker compose up -d --build