Files
blob-store-app/.gitea/workflows/build-and-test.yaml
Dylan Knutson 0e73367261
All checks were successful
Build & Test / build-and-test (push) Successful in 57s
add demo workflow
2024-06-13 10:52:28 -07:00

26 lines
632 B
YAML

name: Build & Test
run-name: Build & Test
on: [push]
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Cache cargo build artifacts
uses: actions/cache@v3
with:
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-
path: |
**/target
- name: Install rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Build
run: cargo build
- name: Test
run: cargo test