add sample
This commit is contained in:
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"
|
Reference in New Issue
Block a user