Add CI to repository #80

Merged
wojtek merged 7 commits from 77---add-ci-to-repository into main 2024-01-06 11:14:30 +01:00
2 changed files with 23 additions and 0 deletions
Showing only changes of commit f3fb7d402b - Show all commits

4
.gitea/images/Dockerfile Normal file
View File

@ -0,0 +1,4 @@
FROM docker.io/library/rust:1.75
RUN apt-get update && apt-get install -y \
nodejs

View File

@ -0,0 +1,19 @@
name: Cargo Build and Test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
build_and_test:
name: Build and Test
container: docker.io/drrobot/musichoard-ci:latest
steps:
- uses: actions/checkout@v3
- run: cargo build --verbose --all-features --all-targets
- run: cargo test --verbose --all-features --all-targets