-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (37 loc) · 924 Bytes
/
lint.yml
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
# https://docs.github.com/ja/actions/reference/workflow-syntax-for-github-actions
name: Lint
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
rubocop:
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- run: bundle exec rake rubocop
dprint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dprint/[email protected]
with:
# Keep same version as used in *.nix
dprint-version: '0.37.1'
typos:
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# Keep same version as used in *.nix
- uses: crate-ci/[email protected]
with:
files: |
.
.github
.vscode