forked from L3MON4D3/LuaSnip
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (28 loc) · 841 Bytes
/
push.yaml
File metadata and controls
31 lines (28 loc) · 841 Bytes
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
name: Generate docs and format
on:
push:
branches:
- master
pull_request_target:
jobs:
postprocessing:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.head_ref }}
- uses: nixbuild/nix-quick-install-action@v30
- run: nix develop -i -c bash -c 'make doc'
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "Auto generate docs"
- name: "Format with Stylua"
uses: JohnnyMorganz/stylua-action@v1.1.2
with:
token: ${{ secrets.GITHUB_TOKEN }}
version: v0.15.1
args: .
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "Format with stylua"