diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4fe121a4e..549b3bfed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,30 +18,23 @@ jobs: KAFKA_VERSION: ${{ matrix.kafka-version }} steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 - name: Setup Go - uses: actions/setup-go@v1 + uses: actions/setup-go@v2 with: go-version: ${{ matrix.go-version }} - - uses: actions/cache@v1 + - uses: actions/cache@v2 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} restore-keys: | ${{ runner.os }}-go- - # See https://github.com/actions/setup-go/issues/14 - - name: Setup env - run: | - echo "::set-env name=GOPATH::$(go env GOPATH)" - echo "::add-path::$(go env GOPATH)/bin" - shell: bash - - name: Install dependencies run: | - curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.31.0 + curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.33.0 export REPOSITORY_ROOT=${GITHUB_WORKSPACE} - name: Run test suite