Skip to content

[DMS-639] Add audit data to dmscs tables #2035

[DMS-639] Add audit data to dmscs tables

[DMS-639] Add audit data to dmscs tables #2035

Workflow file for this run

# SPDX-License-Identifier: Apache-2.0
# Licensed to the Ed-Fi Alliance under one or more agreements.
# The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0.
# See the LICENSE and NOTICES files in the project root for more information.
name: "CodeQL"
on:
push:
branches: [ "main" ]
paths:
- "src/**/*.cs"
- "src/**/*.csproj"
- "src/**/Directory.Packages.props"
pull_request:
branches: [ "main" ]
paths:
- "src/**/*.cs"
- "src/**/*.csproj"
- "src/**/Directory.Packages.props"
permissions: read-all
jobs:
code-analysis:
name: Code Analysis
runs-on: ubuntu-latest
permissions:
security-events: write
defaults:
run:
shell: pwsh
steps:
- name: Checkout the Repo
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup dotnet
uses: actions/setup-dotnet@87b7050bc53ea08284295505d98d2aa94301e852 # v4.2
with:
dotnet-version: '8.0.x'
- name: Dependency Review ("Dependabot on PR")
if: ${{ github.event_name == 'pull_request' && !github.event.repository.fork }}
uses: actions/dependency-review-action@3b139cfc5fae8b618d3eae3675e383bb1769c019 # v4.5.0
- name: Initialize CodeQL
if: success()
uses: github/codeql-action/init@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0
with:
languages: csharp
- name: Cache Nuget packages
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 #v4.2
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/Directory.Packages.props') }}
restore-keys: |
${{ runner.os }}-nuget-
# Must build the software after initialization of CodeQL; something about
# CodeQL initialization causes the resulting build to fail unit tests.
# Therefore rebuilding here, even though also built above.
- name: Build
run: |
./build-config.ps1 Build -Configuration Release
./build-dms.ps1 Build -Configuration Release
- name: Perform CodeQL Analysis
if: success()
uses: github/codeql-action/analyze@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0