Skip to content

Merge pull request #18 from barrettj12/apt-timeout #25

Merge pull request #18 from barrettj12/apt-timeout

Merge pull request #18 from barrettj12/apt-timeout #25

name: "Static Analysis"
on: [push, pull_request]
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
steps:
- name: Set up Go 1.14
uses: actions/[email protected]
with:
go-version: 1.14
id: go
- name: Install Dependencies
run: |
echo "GOPATH=$(go env GOPATH)" >> $GITHUB_ENV
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.36.0
- name: Checkout
uses: actions/checkout@v2
- name: Download Dependencies
run: go mod download
- name: "Static Analysis"
run: |
make static-analysis
shell: bash