File tree Expand file tree Collapse file tree 4 files changed +33
-98
lines changed Expand file tree Collapse file tree 4 files changed +33
-98
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 77 pull_request :
88
99jobs :
10+ format :
11+ runs-on :
12+ - ubuntu-latest
13+
14+ steps :
15+ - uses : actions/checkout@v4
16+
17+ - name : Install Nix
18+ uses : DeterminateSystems/nix-installer-action@v4
19+ with :
20+ github-token : ${{ secrets.GITHUB_TOKEN }}
21+
22+ - uses : DeterminateSystems/magic-nix-cache-action@v2
23+
24+ - uses : cachix/cachix-action@v12
25+ with :
26+ name : foliage
27+ authToken : ' ${{ secrets.CACHIX_AUTH_TOKEN }}'
28+
29+ - run : nix develop --accept-flake-config --command fourmolu -m check .
30+
1031 build :
1132 runs-on :
1233 - ubuntu-latest
Original file line number Diff line number Diff line change @@ -11,17 +11,26 @@ jobs:
1111 steps :
1212 - name : Checkout repository
1313 uses : actions/checkout@v3
14+
1415 - name : Install Nix
15- uses : cachix/install-nix-action@v19
16+ uses : DeterminateSystems/nix-installer-action@v4
17+ with :
18+ github-token : ${{ secrets.GITHUB_TOKEN }}
19+
20+ - uses : DeterminateSystems/magic-nix-cache-action@v2
21+
22+ - uses : cachix/cachix-action@v12
1623 with :
17- extra_nix_config : |
18- access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
24+ name : foliage
25+ authToken : ' ${{ secrets.CACHIX_AUTH_TOKEN }}'
26+
1927 - name : Update flake.lock
2028 uses : DeterminateSystems/update-flake-lock@v16
2129 with :
2230 pr-title : " Update flake.lock" # Title of PR to be created
2331 pr-labels : | # Labels to be set on the PR
2432 dependencies
2533 automated
34+
2635 - name : Print PR number
2736 run : echo Opened pull request ${{ steps.update.outputs.pull-request-number }}.
You can’t perform that action at this time.
0 commit comments