Format code #300
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| jobs: | |
| check: | |
| name: Check flake | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/[email protected] | |
| - name: Clean up storage | |
| run: 'sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /opt/hostedtoolcache/CodeQL | |
| sudo docker image prune --all --force | |
| sudo docker builder prune -a | |
| ' | |
| - name: Install Nix | |
| uses: DeterminateSystems/nix-installer-action@v14 | |
| with: | |
| extra-conf: allow-import-from-derivation = true | |
| - name: Add SSH keys to ssh-agent | |
| uses: webfactory/[email protected] | |
| with: | |
| ssh-private-key: ${{ secrets.SECRETS_DEPLOY_KEY }} | |
| - name: Setup Attic cache | |
| uses: ryanccn/[email protected] | |
| with: | |
| cache: e10 | |
| endpoint: https://cache.e10.camp | |
| token: ${{ secrets.ATTIC_TOKEN }} | |
| - name: Use Cachix store | |
| uses: cachix/cachix-action@v15 | |
| with: | |
| authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} | |
| installCommand: nix profile add github:NixOS/nixpkgs/nixpkgs-unstable#cachix | |
| name: e10 | |
| - run: 'nix flake check --impure --accept-flake-config --show-trace | |
| ' | |
| name: Check | |
| 'on': | |
| push: {} |