NaxGCC-FW/.forgejo/workflows/clippy-check.yml

27 lines
567 B
YAML
Raw Normal View History

name: Code quality
on: pull_request
concurrency:
group: ${{ env.GITHUB_HEAD_REF }}
cancel-in-progress: true
jobs:
check:
runs-on: nix-flakes
steps:
- uses: actions/checkout@v4
- name: Set up attic binary cache
uses: https://git.naxdy.org/NaxdyOrg/attic-action@v0.3
with:
endpoint: "${{ vars.BINARY_CACHE_URL }}"
token: ""
cache: "${{ vars.PUBLIC_BINARY_CACHE_NAME }}"
skip-push: true
- name: Run Clippy
run: |
nix flake check . --print-build-logs -j auto