Skip to content

Commit

Permalink
Updating workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-murray authored Apr 26, 2024
1 parent 093b0e2 commit 0cf9953
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 20 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ on:
jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout Sources
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: 12

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build_executables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ jobs:
type: windows-x64

runs-on: ${{ matrix.os }}

steps:
- name: Checkout Sources
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: 12

Expand All @@ -36,7 +36,7 @@ jobs:
run: npm pack

- name: Attach artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: github-security-report-bundle-${{ matrix.type }}
path: github-security-report.zip
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@ on:
jobs:
test:
runs-on: ubuntu-latest

steps:

- name: Checkout Sources
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Invoke Action
uses: ./
with:
token: ${{ secrets.SECURITY_TOKEN }}
sarifReportDir: ./samples/sarif/peter-murray/advanced-security-java
outputDir: .
- name: Upload Artifacts
uses: actions/upload-artifact@v2

- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: reports
path: ./*.pdf
12 changes: 6 additions & 6 deletions .github/workflows/manual_test_repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@ on:
jobs:
test:
runs-on: ubuntu-latest

steps:

- name: Checkout Sources
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Invoke Action
uses: ./
with:
token: ${{ secrets.SECURITY_TOKEN }}
sarifReportDir: ./samples/sarif/java/detailed
outputDir: .
repository: octodemo/ghas-reporting

- name: Upload Artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: reports
path: ./*.pdf

0 comments on commit 0cf9953

Please sign in to comment.