Skip to content

Commit 0d9d572

Browse files
authored
Merge pull request #1862 from Shopify/cifix
Fix CI setenv permissions issues
2 parents 0616f68 + 6784b79 commit 0d9d572

1 file changed

Lines changed: 4 additions & 11 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,30 +18,23 @@ jobs:
1818
KAFKA_VERSION: ${{ matrix.kafka-version }}
1919

2020
steps:
21-
- uses: actions/checkout@v1
21+
- uses: actions/checkout@v2
2222

2323
- name: Setup Go
24-
uses: actions/setup-go@v1
24+
uses: actions/setup-go@v2
2525
with:
2626
go-version: ${{ matrix.go-version }}
2727

28-
- uses: actions/cache@v1
28+
- uses: actions/cache@v2
2929
with:
3030
path: ~/go/pkg/mod
3131
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
3232
restore-keys: |
3333
${{ runner.os }}-go-
3434
35-
# See https://github.com/actions/setup-go/issues/14
36-
- name: Setup env
37-
run: |
38-
echo "::set-env name=GOPATH::$(go env GOPATH)"
39-
echo "::add-path::$(go env GOPATH)/bin"
40-
shell: bash
41-
4235
- name: Install dependencies
4336
run: |
44-
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.31.0
37+
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.33.0
4538
export REPOSITORY_ROOT=${GITHUB_WORKSPACE}
4639
4740
- name: Run test suite

0 commit comments

Comments
 (0)