Implement write-back cache and refactor write-through cache #101
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-FileCopyrightText: 2023 Stefan Hackenberg <[email protected]> | |
# | |
# SPDX-License-Identifier: MIT | |
name: build | |
on: [push, pull_request] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
reuse: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: pip install reuse | |
- run: reuse lint | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Format | |
run: cargo fmt --verbose --check | |
- name: Clippy | |
run: cargo clippy --verbose -- --deny warnings | |
- name: Build | |
run: cargo build | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: test | |
run: cargo test |