risp/.gitea/workflows/action.yml

26 lines
595 B
YAML
Raw Normal View History

2024-01-26 16:54:15 +01:00
name: CI/CD Pipeline
on: push
jobs:
test:
runs-on: ubuntu-latest
2024-01-26 17:21:29 +01:00
container: git.hofer.link/ruderverein-donau-linz/rowing-ci:20240118
2024-01-26 16:54:15 +01:00
steps:
- uses: actions/checkout@v3
- 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