Skip to content

Commit

Permalink
build: add timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
tomjo committed Mar 20, 2024
1 parent 6174376 commit a1b71f9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ env:
jobs:
build:
runs-on: ubuntu-22.04
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/determine_version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
jobs:
determine_version:
runs-on: ubuntu-22.04
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/owasp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ permissions:
jobs:
build:
runs-on: ubuntu-22.04
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
Expand All @@ -42,12 +43,14 @@ jobs:
- name: OWASP dependency check
env:
ORG_GRADLE_PROJECT_projectVersion: ${{ inputs.version }}
ORG_GRADLE_PROJECT_nvdApiKey: ${{ secrets.NVD_API_KEY }}
GRADLE_OPTS: -Xmx8g
run: ./gradlew dependencyCheckAggregate
- name: Upload build reports
if: always()
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
with:
name: build-reports
path: build/reports/
- name: Perform dependency review
uses: actions/dependency-review-action@6c5ccdad469c9f8a2996bfecaec55a631a347034 # v3.1.0
name: owasp-reports
path: |
build/reports/
!build/reports/configuration-cache

0 comments on commit a1b71f9

Please sign in to comment.