File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 22
22
23
23
# Steps represent a sequence of tasks that will be executed as part of the job
24
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
+
25
31
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
26
32
- uses : actions/checkout@v3
27
33
with :
34
40
# go-version: '1.21'
35
41
cache : false
36
42
37
- - name : list of changed files
38
- id : getDiffFile
39
- run : |
40
- echo "::set-output name=files::$(git diff --name-only origin/master | grep '\.go$' | xargs)"
41
- shell : bash
42
-
43
43
# Runs a set of commands using the runners shell
44
44
- name : golangci-lint
45
45
uses : golangci/golangci-lint-action@v3
You can’t perform that action at this time.
0 commit comments