Skip to content

Merge pull request #4 from tiny-lib/dependabot/go_modules/github.com/… #5

Merge pull request #4 from tiny-lib/dependabot/go_modules/github.com/…

Merge pull request #4 from tiny-lib/dependabot/go_modules/github.com/… #5

Workflow file for this run

name: Go
on:
push:
branches: [ main ]
paths:
- '**.go'
- 'go.mod'
- '.golangci.yml'
- '.github/workflows/go.yml'
pull_request:
paths:
- '**.go'
- 'go.mod'
- '.golangci.yml'
- '.github/workflows/go.yml'
env:
GOPROXY: "https://proxy.golang.org"
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: latest
args: --timeout=30m