diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f5c4c6ddd..a37bf4b1c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,13 +20,13 @@ jobs: strategy: matrix: + go-version: [1.15.2] os: [ubuntu-18.04, macos-10.15, windows-2019] steps: - - name: Install Go - uses: actions/setup-go@v1 + - uses: actions/checkout@v2 with: - go-version: '1.15.2' + path: src/github.com/containerd/containerd - name: Set env shell: bash @@ -34,22 +34,10 @@ jobs: echo "::set-env name=GOPATH::${{ github.workspace }}" echo "::add-path::${{ github.workspace }}/bin" - - name: Checkout - uses: actions/checkout@v2 + - uses: golangci/golangci-lint-action@v2 with: - path: src/github.com/containerd/containerd - - - name: Install dev tools - env: - GO111MODULE: off - shell: bash - run: script/setup/install-dev-tools - working-directory: src/github.com/containerd/containerd - - - name: Make check - shell: bash - run: make check - working-directory: src/github.com/containerd/containerd + version: v1.29 + working-directory: src/github.com/containerd/containerd # # Project checks