mirror of
https://github.com/golangci/golangci-lint-action.git
synced 2026-04-11 06:30:06 +00:00
add sample
This commit is contained in:
parent
60b57697f8
commit
6eb54d49f7
3 changed files with 31 additions and 0 deletions
14
.github/workflows/golangci.yml
vendored
Normal file
14
.github/workflows/golangci.yml
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
name: golangci-lint
|
||||
on: [pull_request]
|
||||
jobs:
|
||||
golangci-lint-dockerfile:
|
||||
name: golangci-lint
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out code into the Go module directory
|
||||
uses: actions/checkout@v1
|
||||
- name: golangci-lint
|
||||
uses: ./
|
||||
with:
|
||||
github_token: ${{ secrets.github_token }}
|
||||
flags: "./testdata"
|
||||
Loading…
Add table
Add a link
Reference in a new issue