risp/.gitea/workflows/action.yml
philipp 36e6a45674
Some checks failed
CI/CD Pipeline / test (push) Failing after 8s
switch to image with nodejs
2024-01-26 17:21:29 +01:00

28 lines
650 B
YAML

name: CI/CD Pipeline
on: push
jobs:
test:
runs-on: ubuntu-latest
container: git.hofer.link/ruderverein-donau-linz/rowing-ci:20240118
steps:
- uses: actions/checkout@v3
- name: Run Test DB Script
run: ./test_db.sh
- name: Set up cargo cache
uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-debug-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-debug-
- name: Tests
run: cargo test --verbose