We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d4305a commit bc25a6bCopy full SHA for bc25a6b
.github/workflows/golangci-lint.yml
@@ -22,6 +22,12 @@ jobs:
22
23
# Steps represent a sequence of tasks that will be executed as part of the job
24
steps:
25
+ - name: list of changed files
26
+ id: getDiffFile
27
+ run: |
28
+ echo "::set-output name=files::$(git diff --name-only origin/master | grep '\.go$' | xargs)"
29
+ shell: bash
30
+
31
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
32
- uses: actions/checkout@v3
33
with:
@@ -34,12 +40,6 @@ jobs:
34
40
#go-version: '1.21'
35
41
cache: false
36
42
37
- - name: list of changed files
38
- id: getDiffFile
39
- run: |
- echo "::set-output name=files::$(git diff --name-only origin/master | grep '\.go$' | xargs)"
- shell: bash
-
43
# Runs a set of commands using the runners shell
44
- name: golangci-lint
45
uses: golangci/golangci-lint-action@v3
0 commit comments