Skip to content

Update go dependencies #30

Update go dependencies

Update go dependencies #30

Workflow file for this run

name: CI Tests
on:
pull_request:
push:
branches: master
jobs:
run-tests:
name: Run Tests
runs-on: ubuntu-latest
env:
GO111MODULE: on
GOPATH: ${{ github.workspace }}/gopath
steps:
- uses: zendesk/checkout@v2
with:
fetch-depth: 3
path: ${{ github.workspace }}/gopath/src/github.com/zendesk/term-check
- uses: zendesk/setup-go@v2
with:
go-version: 1.14.15
- uses: zendesk/cache@v2
with:
path: ${{ github.workspace }}/gopath
key: ${{ runner.os }}-go-${{ hashFiles('go.sum') }}
- name: go mod download
run: |
pushd ${{ github.workspace }}/gopath/src/github.com/zendesk/term-check
go mod download
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
- name: make
run: |
pushd ${{ github.workspace }}/gopath/src/github.com/zendesk/term-check
make
lint:
name: Lint
runs-on: ubuntu-latest
env:
GO111MODULE: on
GOPATH: ${{ github.workspace }}/gopath
steps:
- uses: zendesk/checkout@v2
with:
fetch-depth: 3
path: ${{ github.workspace }}/gopath/src/github.com/zendesk/term-check
- name: golangci-lint
uses: zendesk/golangci-lint-action@v2
with:
working-directory: ${{ github.workspace }}/gopath/src/github.com/zendesk/term-check