File tree 2 files changed +47
-1
lines changed
2 files changed +47
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Check formatting
2
+
3
+ on :
4
+ push :
5
+ paths :
6
+ - " .github/workflows/check-formatting.yml"
7
+ - " Taskfile.yml"
8
+ - " .prettierrc"
9
+ - " **.go"
10
+ - " **.json"
11
+ - " **.md"
12
+ - " **.yaml"
13
+ - " **.yml"
14
+ pull_request :
15
+ paths :
16
+ - " .github/workflows/check-formatting.yml"
17
+ - " Taskfile.yml"
18
+ - " .prettierrc"
19
+ - " **.go"
20
+ - " **.json"
21
+ - " **.md"
22
+ - " **.yaml"
23
+ - " **.yml"
24
+
25
+ jobs :
26
+ check-formatting :
27
+ runs-on : ubuntu-latest
28
+
29
+ steps :
30
+ - name : Checkout local repository
31
+ uses : actions/checkout@v2
32
+
33
+ - name : Install Taskfile
34
+ uses : arduino/actions/setup-taskfile@master
35
+ with :
36
+ repo-token : ${{ secrets.GITHUB_TOKEN }}
37
+ version : 3.x
38
+
39
+ - name : Check Go code formatting
40
+ run : task go:check-formatting
41
+
42
+ - name : Check documentation formatting
43
+ run : task docs:check-formatting
44
+
45
+ - name : Check configuration file formatting
46
+ run : task config:check-formatting
Original file line number Diff line number Diff line change 33
33
34
34
- uses : ruby/setup-ruby@v1
35
35
with :
36
- ruby-version : ruby # Install latest version
36
+ ruby-version : ruby # Install latest version
37
37
38
38
- name : Install licensee
39
39
run : gem install licensee
You can’t perform that action at this time.
0 commit comments