DSA/.github/workflows/go.yml

21 lines
493 B
YAML
Raw Permalink Normal View History

2021-04-18 14:26:25 +00:00
name: Go
on:
2021-05-07 23:22:15 +00:00
push:
branches: [ main ]
paths: '**.go'
2021-04-18 14:26:25 +00:00
pull_request:
branches: [ main ]
paths: '**.go'
jobs:
Go:
name: runner / golangci-lint
2021-04-18 14:26:25 +00:00
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v1
2021-04-18 14:26:25 +00:00
- name: golangci-lint
uses: reviewdog/action-golangci-lint@v1
2021-04-18 14:26:25 +00:00
with:
workdir: algorithms/Go
golangci_lint_flags: "--enable-all --exclude-use-default=false"