Skip to content

Commit aa1640e

Browse files
committed
CI/CD: Use flake.lock for linters
Previously, linters were using nixpkgs directly, which is a branch that is moving. By using inputs from the local lock-file, we ensure that we only take in changes to linter versions when a Refloat commit updates them.
1 parent 819eea2 commit aa1640e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
- uses: rrbutani/use-nix-shell-action@v1
1717
with:
1818
flakes: nixpkgs#llvmPackages_18.clang-tools, nixpkgs#pre-commit
19+
extraNixOptions: --inputs-from .
1920

2021
- name: Run clang-format
2122
id: clang-format

0 commit comments

Comments
 (0)