Skip to content

Commit

Permalink
Merge pull request #679 from linkedin/ci-fix
Browse files Browse the repository at this point in the history
Fix broken CI on master
  • Loading branch information
bai committed Jan 16, 2021
2 parents 7844f04 + 46cdcfa commit d1fe648
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/ci.yml
Expand Up @@ -13,27 +13,20 @@ jobs:
platform: [ubuntu-latest]

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.26.0

Expand Down

0 comments on commit d1fe648

Please sign in to comment.