File tree Expand file tree Collapse file tree 5 files changed +21
-26
lines changed Expand file tree Collapse file tree 5 files changed +21
-26
lines changed Original file line number Diff line number Diff line change @@ -11,12 +11,9 @@ name: Test
11
11
12
12
on :
13
13
push :
14
- branches :
15
- - ' *'
16
- pull_request :
17
- branches :
18
- - main
19
- workflow_call : # allow this workflow to be called by other workflows
14
+ branches : [main]
15
+ pull_request : {}
16
+ workflow_call : {} # allow this workflow to be called by other workflows
20
17
21
18
concurrency :
22
19
# On master/release, we don't want any jobs cancelled
Original file line number Diff line number Diff line change 1
1
name : Conformance Tests
2
2
3
3
on :
4
- push :
5
- branches :
6
- - ' **'
7
- pull_request :
4
+ push :
5
+ branches : [main]
6
+ pull_request : {}
8
7
# TODO: add cron
9
8
10
9
jobs :
Original file line number Diff line number Diff line change @@ -2,11 +2,8 @@ name: Examples
2
2
3
3
on :
4
4
push :
5
- branches :
6
- - ' *'
7
- pull_request :
8
- branches :
9
- - main
5
+ branches : [main]
6
+ pull_request : {}
10
7
11
8
jobs :
12
9
examples-release :
@@ -22,13 +19,13 @@ jobs:
22
19
23
20
permissions :
24
21
id-token : write
25
-
22
+
26
23
steps :
27
24
- name : Enable long paths in Git
28
25
if : runner.os == 'Windows'
29
26
run : git config --system core.longpaths true
30
27
shell : bash
31
-
28
+
32
29
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
33
30
with :
34
31
persist-credentials : false
@@ -46,13 +43,13 @@ jobs:
46
43
working-directory : examples/hello-world
47
44
shell : bash
48
45
run : ./test.sh
49
-
46
+
50
47
examples-dev :
51
48
strategy :
52
49
fail-fast : false
53
50
matrix :
54
51
os : [ubuntu-latest, macos-latest, windows-latest]
55
-
52
+
56
53
name : Build and run dev examples on ${{ matrix.os }}
57
54
runs-on : ${{ matrix.os }}
58
55
concurrency :
67
64
if : runner.os == 'Windows'
68
65
run : git config --system core.longpaths true
69
66
shell : bash
70
-
67
+
71
68
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
72
69
with :
73
70
persist-credentials : false
96
93
shell : bash
97
94
env :
98
95
VERSION : ${{ steps.dev_version.outputs.version }}
99
- run : ./test.sh -Dsigstore.version=${VERSION}
96
+ run : ./test.sh -Dsigstore.version=${VERSION}
Original file line number Diff line number Diff line change 1
1
name : " Validate Gradle Wrapper"
2
- on : [push, pull_request]
2
+ on :
3
+ push :
4
+ branches : [main]
5
+ pull_request : {}
3
6
4
7
jobs :
5
8
validation :
Original file line number Diff line number Diff line change @@ -2,10 +2,9 @@ name: TUF Conformance Tests
2
2
3
3
on :
4
4
push :
5
- branches :
6
- - ' **'
7
- pull_request :
8
- workflow_dispatch :
5
+ branches : [main]
6
+ pull_request : {}
7
+ workflow_dispatch : {}
9
8
# TODO: add cron
10
9
11
10
jobs :
You can’t perform that action at this time.
0 commit comments