File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed
Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ name : " Lint Mixins"
3+
4+ permissions :
5+ contents : read
6+
7+ on :
8+ # To conserve resources we only run tests against main in PRs
9+ pull_request :
10+ branches :
11+ - main
12+
13+ jobs :
14+ check-for-changed-mixins :
15+ name : Check for changed mixins
16+ runs-on : ubuntu-latest
17+ outputs :
18+ changed-mixins : ${{ steps.changed-mixins.outputs.all_changed_files }}
19+ steps :
20+ - name : Checkout
21+ uses : actions/checkout@v4
22+ with :
23+ fetch-depth : 0
24+
25+ - name : Setup Go
26+ uses : actions/setup-go@v5
27+ with :
28+ go-version : 1.18
29+
30+ - name : Install CI dependencies
31+ run : make install-ci-deps
32+
33+ - name : Get changed mixins
34+ id : changed-mixins
35+ uses : tj-actions/changed-files@v44
36+ with :
37+ dir_names : true
38+ dir_names_exclude_current_dir : true
39+ dir_names_max_depth : 1
40+ files : **-mixin/
41+ matrix : true
42+
43+ - name : List all changed mixins:
44+ run : echo '${{ steps.changed-mixins.outputs.all_changed_files }}'
You can’t perform that action at this time.
0 commit comments