2024-01-26 16:54:15 +01:00
|
|
|
name: CI/CD Pipeline
|
|
|
|
|
|
|
|
on: push
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
runs-on: ubuntu-latest
|
2024-02-15 11:58:34 +01:00
|
|
|
container: git.hofer.link/ruderverein-donau-linz/rowing-ci:20240215
|
2024-01-26 16:54:15 +01:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
2024-02-06 11:38:02 +01:00
|
|
|
# - 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-
|
2024-01-26 16:54:15 +01:00
|
|
|
|
|
|
|
- name: Tests
|
|
|
|
run: cargo test --verbose
|