@@ -29,25 +29,10 @@ jobs:
2929          yarn install 
3030          npx eslint . 
3131continue-on-error : true 
32-   syft-source-sbom :
33-     name : SBOM for Source Code 
34-     needs : code_quality 
35-     permissions :
36-       contents : write 
37-     runs-on : ubuntu-latest 
38-     steps :
39-       - name : Checkout the code 
40-         uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11  #  v4.1.1
41-       - name : Scan the source code and upload dependency results 
42-         uses : anchore/sbom-action@f3355df2ccd621f5873fe3c7c653ebdc5ef1bcb2 
43-         with :
44-           path : . 
45-           dependency-snapshot : true 
46-           format : spdx-json 
4732  build :
4833    name : Build 
4934    runs-on : ubuntu-latest 
50-     needs : syft-source-sbom 
35+     needs : code_quality 
5136    strategy :
5237      matrix :
5338        node-version : [16.x, 18.x, 20.x] 
5944      - name : Checkout Repository to Runner Context 
6045        uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11  #  v4.1.1
6146      - name : Use Node version ${{ matrix.node-version }} 
62-         uses : actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65   #  v4.0.0 
47+         uses : actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8   #  v4.0.2 
6348        with :
6449          node-version : ${{ matrix.node-version }} 
6550          cache : " yarn" 
8267      - name : Checkout Repository to Runner Context 
8368        uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11  #  v4.1.1
8469      - name : Use Node version ${{ matrix.node-version }} 
85-         uses : actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65   #  v4.0.0 
70+         uses : actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8   #  v4.0.2 
8671        with :
8772          node-version : ${{ matrix.node-version }} 
8873          cache : " yarn" 
@@ -198,10 +183,3 @@ jobs:
198183        run : | 
199184          docker build -t ghcr.io/stormsinbrewing/savvy-devsecops . 
200185          docker push ghcr.io/stormsinbrewing/savvy-devsecops 
201- name : Image SBOM Scan with Syft 
202-         uses : anchore/sbom-action@f3355df2ccd621f5873fe3c7c653ebdc5ef1bcb2 
203-         with :
204-           image : " ghcr.io/stormsinbrewing/savvy-devsecops" 
205-           dependency-snapshot : true 
206-           format : spdx-json 
207-           artifact-name : spdx.docker.json 
0 commit comments