File tree 2 files changed +30
-2
lines changed
2 files changed +30
-2
lines changed Original file line number Diff line number Diff line change
1
+
2
+ name : Publish
3
+
4
+ on :
5
+ push :
6
+ tags :
7
+ # Releases
8
+ - ' [0-9]+.[0-9]+.[0-9]+'
9
+
10
+ permissions :
11
+ contents : write
12
+ id-token : write
13
+ pull-requests : write
14
+
15
+ jobs :
16
+ publish :
17
+ name : Publish to pub.dev
18
+ uses : dart-lang/setup-dart/.github/workflows/publish.yml@v1
Original file line number Diff line number Diff line change 9
9
branches :
10
10
- ' **'
11
11
12
+ permissions :
13
+ contents : write
14
+ id-token : write
15
+ pull-requests : write
16
+
12
17
jobs :
13
18
test :
14
19
runs-on : ubuntu-latest
15
20
continue-on-error : true
16
21
strategy :
17
22
fail-fast : false
18
23
matrix :
19
- sdk : [ 2.18.7, 2. 19.6, stable ]
24
+ sdk : [ 2.19.6 ]
20
25
steps :
21
26
- uses : actions/checkout@v2
22
27
- uses : dart-lang/setup-dart@v1
@@ -26,10 +31,15 @@ jobs:
26
31
run : dart pub get
27
32
- name : Verify formatting
28
33
run : dart format --output=none --set-exit-if-changed .
29
- if : ${{ matrix.sdk == '2.18.7 ' }}
34
+ if : ${{ matrix.sdk == '2.19.6 ' }}
30
35
- name : Analyze project source
31
36
run : dart analyze
32
37
- name : Run tests on chrome
33
38
run : dart run build_runner test --delete-conflicting-outputs -- -p chrome
34
39
- name : Run tests in release mode on chrome
35
40
run : dart run build_runner test --release --delete-conflicting-outputs -- -p chrome
41
+ - name : Publish SBOM
42
+ uses : anchore/sbom-action@v0
43
+ with :
44
+ path : ./
45
+ format : cyclonedx-json
You can’t perform that action at this time.
0 commit comments