File tree 2 files changed +32
-27
lines changed 2 files changed +32
-27
lines changed Original file line number Diff line number Diff line change 1
1
name : Continuous Integration
2
- on :
3
- pull_request :
4
- types : [opened, synchronize, reopened]
5
- push :
6
- branches :
7
- - master
2
+ on :
3
+ pull_request :
4
+ types : [opened, synchronize, reopened]
5
+ push :
6
+ branches :
7
+ - master
8
8
9
9
jobs :
10
10
report :
11
11
name : Report
12
12
runs-on : ubuntu-latest
13
13
steps :
14
- - name : ref
15
- run : echo ${{ github.ref }}
16
- - name : event_name
17
- run : echo ${{ github.event_name }}
14
+ - name : ref
15
+ run : echo ${{ github.ref }}
16
+ - name : event_name
17
+ run : echo ${{ github.event_name }}
18
18
build :
19
19
name : Build
20
- runs-on : ubuntu-latest
20
+ strategy :
21
+ matrix :
22
+ os : [macos-latest, windows-latest, ubuntu-latest]
23
+ runs-on : ${{ matrix.os }}
21
24
steps :
22
- - name : checkout
23
- uses : actions/checkout@v2
24
- - uses : actions/setup-go@v2
25
- with :
26
- go-version : ^1.16
27
- - name : vet
28
- run : make vet
29
- - name : lint
30
- run : make lint
31
- - name : image
32
- run : make image
33
- - name : test
34
- run : make test
35
-
25
+ - name : checkout
26
+ uses : actions/checkout@v2
27
+ - uses : actions/setup-go@v2
28
+ with :
29
+ go-version : ^1.16
30
+ - run : go build
31
+ - name : vet
32
+ run : make vet
33
+ - name : lint
34
+ run : make lint
35
+ - name : image
36
+ if : ${{ runner.os == "Linux" }}
37
+ run : make image
38
+ - name : test
39
+ if : ${{ runner.os == "Linux" }}
40
+ run : make test
Original file line number Diff line number Diff line change 1
- //go:build !darwin || linux || solaris || aix || freebsd || illumos || netbsd || openbsd || plan9
2
- // +build !darwin linux solaris aix freebsd illumos netbsd openbsd plan9
1
+ //go:build linux || solaris || aix || freebsd || illumos || netbsd || openbsd || plan9
2
+ // +build linux solaris aix freebsd illumos netbsd openbsd plan9
3
3
4
4
package diskfs
5
5
You can’t perform that action at this time.
0 commit comments