diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e90dca01..a70cd40f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,6 +54,15 @@ jobs: - name: Checkout uses: actions/checkout@v2 + - name: Set up Go 1.14 + uses: actions/setup-go@v3 + with: + go-version: '1.14' + check-latest: true + + - name: Set up golint + run: go get -u golang.org/x/lint/golint + - name: Build run: make build @@ -68,9 +77,13 @@ jobs: uses: actions/checkout@v2 - name: Set up Go 1.14 - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: - go-version: 1.14.7 + go-version: '1.14' + check-latest: true + + - name: Set up golint + run: go get -u golang.org/x/lint/golint - name: Build run: make build @@ -85,6 +98,15 @@ jobs: - name: Checkout uses: actions/checkout@v2 + - name: Set up Go 1.14 + uses: actions/setup-go@v3 + with: + go-version: '1.14' + check-latest: true + + - name: Set up golint + run: go get -u golang.org/x/lint/golint + - name: Build run: make build diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 64c42634..5778e1dc 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -50,6 +50,15 @@ jobs: - name: Checkout uses: actions/checkout@v2 + - name: Set up Go 1.14 + uses: actions/setup-go@v3 + with: + go-version: '1.14' + check-latest: true + + - name: Set up golint + run: go get -u golang.org/x/lint/golint + - name: Build run: make build @@ -64,9 +73,13 @@ jobs: uses: actions/checkout@v2 - name: Set up Go 1.14 - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: - go-version: 1.14.7 + go-version: '1.14' + check-latest: true + + - name: Set up golint + run: go get -u golang.org/x/lint/golint - name: Build run: make build @@ -81,6 +94,15 @@ jobs: - name: Checkout uses: actions/checkout@v2 + - name: Set up Go 1.14 + uses: actions/setup-go@v3 + with: + go-version: '1.14' + check-latest: true + + - name: Set up golint + run: go get -u golang.org/x/lint/golint + - name: Build run: make build