mirror of
https://github.com/golangci/golangci-lint-action.git
synced 2026-10-07 11:57:30 +00:00
add sample
This commit is contained in:
3 files changed
+31
No files matched your search
@@ -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"
|
||||
Reference in new issue
Block a user