feat: updated default folders parsing code #78
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
name: Check source code | |
on: | |
push: | |
branches: | |
- master | |
- next | |
paths: | |
- "src/**" | |
pull_request: | |
branches: | |
- master | |
- next | |
paths: | |
- "src/**" | |
workflow_dispatch: | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
check_source_code: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
id-token: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: DeterminateSystems/nix-installer-action@main | |
- uses: DeterminateSystems/magic-nix-cache-action@main | |
- name: Check flake format | |
run: nix flake check --accept-flake-config | |
- name: Check source code | |
run: nix develop --accept-flake-config --command cargo check --verbose | |
- name: Perform source code tests | |
run: nix develop --accept-flake-config --command cargo test --verbose |