Skip to content

Commit

Permalink
Enable Cachix
Browse files Browse the repository at this point in the history
  • Loading branch information
yrd committed Aug 25, 2022
1 parent ecfb274 commit 9c4e30c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/commit_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.4.0
- uses: cachix/install-nix-action@v15
- uses: cachix/install-nix-action@v16
- uses: cachix/cachix-action@v10
with:
name: zucker
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
pushFilter: 'zucker-.+-checks$'
- run: nix flake check
4 changes: 2 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@

# This derivation runs the black and isort checks.
style = mkCheckDerivation {
pname = "zucker-style-tests";
name = "zucker-style-checks";
checkInputs = [(python.withPackages (ps: with ps; [
black isort
]))];
Expand All @@ -113,7 +113,7 @@

# Run mypy on the entire codebase.
types = mkCheckDerivation {
pname = "zucker-type-checks";
name = "zucker-type-checks";
checkInputs = [(python.withPackages (ps: with ps; [
pytest pytest-asyncio hypothesis mypy types-requests aiohttp
]))];
Expand Down

0 comments on commit 9c4e30c

Please sign in to comment.