File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : [ master ]
6+ pull_request :
7+ branches : [ master ]
8+
9+ jobs :
10+
11+ checks :
12+ name : Project Checks
13+ runs-on : ubuntu-18.04
14+ timeout-minutes : 5
15+
16+ steps :
17+ - uses : actions/setup-go@v2
18+ with :
19+ go-version : 1.16.2
20+
21+ - name : Set env
22+ shell : bash
23+ run : |
24+ echo "GOPATH=${{ github.workspace }}" >> $GITHUB_ENV
25+ echo "${{ github.workspace }}/bin" >> $GITHUB_PATH
26+
27+ - uses : actions/checkout@v2
28+ with :
29+ path : src/github.com/containerd/aufs
30+ fetch-depth : 25
31+
32+ - uses : containerd/project-checks@v1
33+ with :
34+ working-directory : src/github.com/containerd/aufs
35+
36+ linters :
37+ name : Linters
38+ runs-on : ${{ matrix.os }}
39+ timeout-minutes : 10
40+
41+ strategy :
42+ matrix :
43+ go-version : [1.16.2]
44+ os : [ubuntu-18.04]
45+
46+ steps :
47+ - uses : actions/checkout@v2
48+ with :
49+ path : src/github.com/containerd/aufs
50+
51+ - name : Set env
52+ shell : bash
53+ run : |
54+ echo "GOPATH=${{ github.workspace }}" >> $GITHUB_ENV
55+ echo "${{ github.workspace }}/bin" >> $GITHUB_PATH
56+
57+ - uses : golangci/golangci-lint-action@v2
58+ with :
59+ version : v1.29
60+ working-directory : src/github.com/containerd/aufs
61+
62+ tests :
63+ name : Tests
64+ runs-on : ubuntu-18.04
65+ timeout-minutes : 5
66+
67+ steps :
68+ - uses : actions/checkout@v2
69+ with :
70+ path : src/github.com/containerd/aufs
71+
72+ - uses : actions/setup-go@v2
73+ with :
74+ go-version : 1.16.2
75+
76+ - name : Set env
77+ shell : bash
78+ run : |
79+ echo "GOPATH=${{ github.workspace }}" >> $GITHUB_ENV
80+ echo "${{ github.workspace }}/bin" >> $GITHUB_PATH
81+
82+ - run : |
83+ go test -v -race -covermode=atomic -coverprofile=coverage.txt ./...
84+ bash <(curl -s https://codecov.io/bash)
85+ working-directory: src/github.com/containerd/aufs
You can’t perform that action at this time.
0 commit comments