2024-04-03 16:53:52 +00:00
|
|
|
name: Code quality
|
|
|
|
|
|
|
|
on: pull_request
|
|
|
|
|
2024-04-08 20:40:38 +00:00
|
|
|
concurrency:
|
2024-04-08 21:25:02 +00:00
|
|
|
group: ${{ env.GITHUB_HEAD_REF }}
|
2024-04-08 20:40:38 +00:00
|
|
|
cancel-in-progress: true
|
|
|
|
|
2024-04-03 16:53:52 +00:00
|
|
|
jobs:
|
|
|
|
check:
|
|
|
|
runs-on: nix-flakes
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v4
|
2024-10-14 19:55:54 +00:00
|
|
|
|
|
|
|
- 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
|
|
|
|
|
2024-04-03 16:53:52 +00:00
|
|
|
- name: Run Clippy
|
|
|
|
run: |
|
2024-10-27 20:49:20 +00:00
|
|
|
nix flake check . --print-build-logs -j auto
|