-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (39 loc) · 1.34 KB
/
format.yaml
File metadata and controls
42 lines (39 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Format
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
permissions:
contents: read
id-token: write
jobs:
formatting-nix:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- uses: DeterminateSystems/nix-installer-action@c5a866b6ab867e88becbed4467b93592bce69f8a # v21
with:
determinate: false
- name: Setup Attic cache
uses: ryanccn/attic-action@7fbafba3978e86e585cb68a82c08b30f3672b62d # v0
with:
endpoint: https://attic.comni.pl
cache: aspulse_dotfiles
token: ${{ secrets.ATTIC_JWT }}
- run: nix build -L .#checks.x86_64-linux.formatting-nix --accept-flake-config
formatting-neovim:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
- uses: DeterminateSystems/nix-installer-action@c5a866b6ab867e88becbed4467b93592bce69f8a # v21
with:
determinate: false
- name: Setup Attic cache
uses: ryanccn/attic-action@7fbafba3978e86e585cb68a82c08b30f3672b62d # v0
with:
endpoint: https://attic.comni.pl
cache: aspulse_dotfiles
token: ${{ secrets.ATTIC_JWT }}
- run: nix build -L .#checks.x86_64-linux.formatting-neovim --accept-flake-config