-
Notifications
You must be signed in to change notification settings - Fork 6
61 lines (57 loc) · 2.07 KB
/
Copy pathcheck.yml
File metadata and controls
61 lines (57 loc) · 2.07 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
name: check
on:
push:
branches: [master, main]
pull_request:
merge_group:
permissions: {}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
nix-fast-build:
name: nix-fast-build
runs-on: ubuntu-24.04
permissions:
contents: read # リポジトリコンテンツの読み取り
id-token: write # niks3 OIDC認証
timeout-minutes: 15
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
persist-credentials: false
- uses: ncaq/nix-composite-action@5a61f70ad5b7d2f276732e14355b7fb2ddd4caaf # v1.3.0
with:
cachix-auth-token: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- run: nix run '.#nix-fast-build' -- --option eval-cache false --no-link --skip-cached --no-nom
elisp-check:
name: elisp-check
runs-on: ubuntu-24.04
permissions:
contents: read # リポジトリコンテンツの読み取り
id-token: write # niks3 OIDC認証
timeout-minutes: 15
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
persist-credentials: false
- uses: ncaq/nix-composite-action@5a61f70ad5b7d2f276732e14355b7fb2ddd4caaf # v1.3.0
with:
cachix-auth-token: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- uses: purcell/setup-emacs@bdc64dc730ae1fcba200bfd52cb1b4cf6159cbe5 # v8.0
with:
version: snapshot # 最新のバージョンで実行してEmacs正式リリースより先にエラーを検出。
- uses: leotaku/elisp-check@cbcda75256a9195b5e6d7e6fa39390b32e08a4f3 # v1.4.1
with:
file: auto-sudoedit*.el
warnings_as_errors: true
- uses: leotaku/elisp-check@cbcda75256a9195b5e6d7e6fa39390b32e08a4f3 # v1.4.1
with:
file: test/*.el
check: checkdoc
warnings_as_errors: true
- uses: leotaku/elisp-check@cbcda75256a9195b5e6d7e6fa39390b32e08a4f3 # v1.4.1
with:
file: test/*.el
check: byte-compile
warnings_as_errors: true