Skip to content

feat(components): implement standard typed #86

feat(components): implement standard typed

feat(components): implement standard typed #86

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:
- name: Checkout repository
uses: actions/checkout@v4
with:
persist-credentials: false
- 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