Skip to content

Commit 8936f35

Browse files
Merge pull request #125 from Workiva/non_dockerfile_cyclonedex_2
SBOM from GHA - again
2 parents fcd059d + ecfad2f commit 8936f35

File tree

3 files changed

+30
-40
lines changed

3 files changed

+30
-40
lines changed

.github/workflows/checks.yaml

Lines changed: 0 additions & 35 deletions
This file was deleted.

.github/workflows/tests.yaml renamed to .github/workflows/ci.yaml

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,42 @@
11
name: Tests
22

33
on:
4+
pull_request:
45
push:
56
branches:
67
- master
7-
pull_request:
88

9+
permissions:
10+
pull-requests: write
11+
contents: write
12+
id-token: write
913

1014
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+
1140
snapshots:
1241
runs-on: ubuntu-latest
1342
steps:

Dockerfile

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)