Skip to content

Commit

Permalink
scheduled SCA
Browse files Browse the repository at this point in the history
  • Loading branch information
tonycknight committed Dec 22, 2023
1 parent 3c0643e commit 356104e
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
with:
dotnet-version: "${{ env.dotnet_version }}"

- name: SCA checks
- name: Style checks
run: |
dotnet tool restore
dotnet run --project ./build/build.fsproj -t "Check Style Rules"
Expand Down
29 changes: 29 additions & 0 deletions .github/workflows/sca.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: "SCA"

on:
workflow_dispatch:
workflow_call:
inputs:
username:
required: false
type: string
secrets:
token:
required: false
schedule:
- cron: '1 0 * * 6'

jobs:
sca:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Setup .NET SDK
uses: actions/setup-dotnet@v3

- name: dotnet SCA
run: |
dotnet tool restore
dotnet run --project ./build/build.fsproj -t "SCA"

0 comments on commit 356104e

Please sign in to comment.