feat: introduce swr
(#114)
#120
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
# /** | |
# * Copyright (c) 2020-Present, Keita Nonaka | |
# * | |
# * This source code is licensed under the MIT license found in the | |
# * LICENSE file in the root directory of this source tree. | |
# */ | |
name: Rust CI | |
on: | |
push: | |
paths: | |
- api/** | |
- .github/workflows/rustCI.yml | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
rust-build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# with: | |
# path: | | |
# ~/.cargo/registry | |
# ~/.cargo/git | |
# target | |
# key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
- name: Build | |
working-directory: ./api | |
run: cargo build --verbose | |
- name: Run tests | |
working-directory: ./api | |
run: cargo test --verbose |