File tree Expand file tree Collapse file tree 18 files changed +2348
-1
lines changed
actions/setup_environment Expand file tree Collapse file tree 18 files changed +2348
-1
lines changed Original file line number Diff line number Diff line change
1
+ root = true
2
+
3
+ [* ]
4
+ charset = utf-8
5
+ end_of_line = lf
6
+ indent_size = 2
7
+ indent_style = space
8
+ insert_final_newline = true
9
+ max_line_length = 120
10
+ trim_trailing_whitespace = true
11
+
12
+ [* .sh ]
13
+ indent_size = 4
Original file line number Diff line number Diff line change
1
+ name : " Setup Environment"
2
+ description : " Setting environment for the project"
3
+
4
+ inputs :
5
+ task-version :
6
+ description : " Task version"
7
+ required : true
8
+ default : " 3.33.1"
9
+
10
+ runs :
11
+ using : " composite"
12
+ steps :
13
+ - name : Install Task
14
+ uses : arduino/setup-task@v1
15
+ with :
16
+ version : ${{ inputs.task-version }}
Original file line number Diff line number Diff line change
1
+ name : Check PR Title
2
+
3
+ on :
4
+ pull_request :
5
+ types :
6
+ - opened
7
+ - reopened
8
+ - synchronize
9
+ - edited
10
+
11
+ jobs :
12
+ check-pr-title :
13
+ runs-on : ubuntu-latest
14
+
15
+ steps :
16
+ - name : Checkout repository
17
+ uses : actions/checkout@v4
18
+
19
+ - name : Commitlint PR Title
20
+ uses : ovsds/commitlint-pr-title-action@v1
21
+ with :
22
+ config_file : ./commitlint.config.js
Original file line number Diff line number Diff line change
1
+ name : Check PR
2
+
3
+ on :
4
+ pull_request :
5
+ types :
6
+ - opened
7
+ - reopened
8
+ - synchronize
9
+
10
+ jobs :
11
+ check-pr :
12
+ runs-on : ubuntu-latest
13
+
14
+ permissions :
15
+ contents : read
16
+
17
+ steps :
18
+ - name : Checkout repository
19
+ uses : actions/checkout@v4
20
+
21
+ - name : Setup Environment
22
+ uses : ./.github/actions/setup_environment
23
+
24
+ - name : Install Dependencies
25
+ run : |
26
+ task init
27
+
28
+ - name : Lint PR
29
+ run : |
30
+ task lint
Original file line number Diff line number Diff line change
1
+ name : E2E
2
+
3
+ on :
4
+ pull_request :
5
+ types :
6
+ - opened
7
+ - reopened
8
+ - synchronize
9
+
10
+ jobs :
11
+ e2e-default :
12
+ runs-on : ubuntu-latest
13
+
14
+ permissions :
15
+ contents : read
16
+
17
+ steps :
18
+ - name : Checkout repository
19
+ uses : actions/checkout@v4
20
+
21
+ - name : Test Run
22
+ id : test-run
23
+ uses : ./
24
+ with :
25
+ placeholder : " test_placeholder"
26
+
27
+ - name : Assert placeholder
28
+ uses : nick-fields/assert-action@v2
29
+ with :
30
+ actual : ${{ steps.test-run.outputs.placeholder }}
31
+ expected : " test_placeholder"
32
+ e2e :
33
+ runs-on : ubuntu-latest
34
+ if : always() && !cancelled()
35
+
36
+ needs :
37
+ - e2e-default
38
+
39
+ steps :
40
+ - name : Collect Results
41
+ uses : ovsds/collect-needs-result-action@v1
42
+ with :
43
+ needs_json : ${{ toJson(needs) }}
44
+ skip_allowed : false
Original file line number Diff line number Diff line change
1
+ name : Push version tags
2
+
3
+ on :
4
+ release :
5
+ types : [published]
6
+
7
+ jobs :
8
+ push-version-tags :
9
+ runs-on : ubuntu-latest
10
+
11
+ permissions :
12
+ contents : write
13
+
14
+ steps :
15
+ - name : Push Version Tags
16
+ uses : ovsds/push-version-tags-action@v1
17
+ with :
18
+ version : ${{ github.event.release.tag_name }}
Original file line number Diff line number Diff line change
1
+ # OS
2
+ .DS_Store
3
+
4
+ # IDE
5
+ .idea /
6
+ .vscode /
7
+
8
+ # Dependencies
9
+ node_modules /
Original file line number Diff line number Diff line change
1
+ npx --no -- commitlint --edit
Original file line number Diff line number Diff line change
1
+ npx lint-staged
Original file line number Diff line number Diff line change
1
+ fund = false
2
+ audit = false
3
+ save-exact = true
4
+ unsafe-perm = true
5
+ engine-strict = true
6
+ update-notifier = false
You can’t perform that action at this time.
0 commit comments