File tree Expand file tree Collapse file tree 3 files changed +30
-40
lines changed Expand file tree Collapse file tree 3 files changed +30
-40
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
name : Tests
2
2
3
3
on :
4
+ pull_request :
4
5
push :
5
6
branches :
6
7
- master
7
- pull_request :
8
8
9
+ permissions :
10
+ pull-requests : write
11
+ contents : write
12
+ id-token : write
9
13
10
14
jobs :
15
+ checks :
16
+ runs-on : ubuntu-latest
17
+ steps :
18
+ - uses : actions/checkout@v3
19
+ - uses : dart-lang/setup-dart@v1
20
+ with :
21
+ sdk : 2.19.6
22
+
23
+ - run : dart pub get
24
+
25
+ - name : Analyze
26
+ run : dart run dart_dev analyze
27
+
28
+ - name : Format
29
+ run : dart run dart_dev format --check
30
+
31
+ - name : Validate Dependencies
32
+ run : dart run dependency_validator
33
+
34
+ - name : Generate SBOM
35
+ uses : anchore/sbom-action@v0
36
+ with :
37
+ path : ./
38
+ format : cyclonedx-json
39
+
11
40
snapshots :
12
41
runs-on : ubuntu-latest
13
42
steps :
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments