Skip to content

Commit 8b04664

Browse files
committed
Use golangci-lint Github Action
Signed-off-by: Maksym Pavlenko <[email protected]>
1 parent 8b03df2 commit 8b04664

1 file changed

Lines changed: 6 additions & 18 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -20,36 +20,24 @@ jobs:
2020

2121
strategy:
2222
matrix:
23+
go-version: [1.15.2]
2324
os: [ubuntu-18.04, macos-10.15, windows-2019]
2425

2526
steps:
26-
- name: Install Go
27-
uses: actions/setup-go@v1
27+
- uses: actions/checkout@v2
2828
with:
29-
go-version: '1.15.2'
29+
path: src/github.com/containerd/containerd
3030

3131
- name: Set env
3232
shell: bash
3333
run: |
3434
echo "::set-env name=GOPATH::${{ github.workspace }}"
3535
echo "::add-path::${{ github.workspace }}/bin"
3636
37-
- name: Checkout
38-
uses: actions/checkout@v2
37+
- uses: golangci/golangci-lint-action@v2
3938
with:
40-
path: src/github.com/containerd/containerd
41-
42-
- name: Install dev tools
43-
env:
44-
GO111MODULE: off
45-
shell: bash
46-
run: script/setup/install-dev-tools
47-
working-directory: src/github.com/containerd/containerd
48-
49-
- name: Make check
50-
shell: bash
51-
run: make check
52-
working-directory: src/github.com/containerd/containerd
39+
version: v1.29
40+
working-directory: src/github.com/containerd/containerd
5341

5442
#
5543
# Project checks

0 commit comments

Comments
 (0)