File tree Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ # This is a basic workflow to help you get started with Actions
2
+
3
+ name : Zig
4
+
5
+ # Controls when the action will run. Triggers the workflow on push or pull request
6
+ # events but only for the master branch
7
+ on :
8
+ schedule :
9
+ - cron : ' 0 18 * * *'
10
+ push :
11
+ branches : [ master ]
12
+ pull_request :
13
+
14
+ jobs :
15
+ test :
16
+ strategy :
17
+ matrix :
18
+ os : [ubuntu-latest, macos-latest, windows-latest]
19
+ runs-on : ${{matrix.os}}
20
+ steps :
21
+ - uses : actions/checkout@v2
22
+ - uses : goto-bus-stop/setup-zig@v1
23
+ with :
24
+ version : master
25
+ - run : zig build test
26
+ lint :
27
+ runs-on : ubuntu-latest
28
+ steps :
29
+ - uses : actions/checkout@v2
30
+ - uses : goto-bus-stop/setup-zig@v1
31
+ with :
32
+ version : master
33
+ - run : zig fmt --check src/*.zig
You can’t perform that action at this time.
0 commit comments