-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add GitHub workflows for build, dependency check, secret scanning, an…
…d SonarCloud analysis; update Package.resolved and add CODEOWNERS file
- Loading branch information
Showing
6 changed files
with
73 additions
and
4 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* @eu-digital-identity-wallet/niscy-admins |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
name: build-package | ||
on: | ||
pull_request: | ||
types: [opened, reopened] | ||
push: | ||
branches: ['main'] | ||
tags: [ v* ] | ||
jobs: | ||
build: | ||
runs-on: "macos-14" | ||
steps: | ||
- uses: maxim-lobanov/setup-xcode@v1 | ||
with: | ||
xcode-version: '16.0' | ||
- name: Get swift version | ||
run: swift --version | ||
- uses: actions/checkout@v4 | ||
- name: Build | ||
run: swift build | ||
- name: Run tests | ||
run: swift test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: SCA - Dependency-Check Caller | ||
on: | ||
push: | ||
branches-ignore: | ||
- 'dependabot/**' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
|
||
SCA_caller: | ||
uses: eu-digital-identity-wallet/eudi-infra-ci/.github/workflows/sca.yml@main | ||
secrets: | ||
NVD_API_KEY: ${{ secrets.NVD_API_KEY }} | ||
DOJO_TOKEN: ${{ secrets.DOJO_TOKEN }} | ||
DOJO_URL: ${{ secrets.DOJO_URL }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: Secret Scanning - Gitleaks Caller | ||
on: | ||
push: | ||
branches-ignore: | ||
- 'dependabot/**' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
|
||
Secret_Scanning_caller: | ||
uses: eu-digital-identity-wallet/eudi-infra-ci/.github/workflows/secretscanning.yml@main | ||
secrets: | ||
DOJO_TOKEN: ${{ secrets.DOJO_TOKEN }} | ||
DOJO_URL: ${{ secrets.DOJO_URL }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: SAST - SonarCloud Caller | ||
on: | ||
push: | ||
branches-ignore: | ||
- 'dependabot/**' | ||
pull_request_target: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
|
||
SAST_caller: | ||
uses: eu-digital-identity-wallet/eudi-infra-ci/.github/workflows/sast_action.yml@main | ||
secrets: | ||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
DOJO_TOKEN: ${{ secrets.DOJO_TOKEN }} | ||
DOJO_URL: ${{ secrets.DOJO_URL }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters