Skip to content

Commit

Permalink
Add Component Detection workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
bgrainger committed Aug 10, 2023
1 parent 0622c02 commit e8d5878
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: "Continuous Integration"

on:
push:
branches: [ master, test ]
pull_request:
branches: [ master ]

jobs:
build:
name: Build
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up .NET 7.0
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.x

- name: Restore
run: dotnet restore

- name: Build
run: dotnet build --configuration Release --no-restore

- name: Component detection
uses: advanced-security/[email protected]

0 comments on commit e8d5878

Please sign in to comment.