generated from Ed-Fi-Exchange-OSS/Template-for-GitHub
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
60d5689
commit 34c8a37
Showing
277 changed files
with
3,777 additions
and
31,439 deletions.
There are no files selected for viewing
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,57 @@ | ||
# 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: On Pull Request - C# | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
paths: | ||
- "**/*.cs" | ||
- "**/*.csproj" | ||
- ".github/workflows/on-pullrequest-cs.yml" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
scan-actions-bidi: | ||
name: Scan Actions, scan all files for BIDI Trojan Attacks | ||
uses: ed-fi-alliance-oss/ed-fi-actions/.github/workflows/repository-scanner.yml@main | ||
|
||
run-cs-tests: | ||
name: Run C# Tests | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: src | ||
shell: pwsh | ||
steps: | ||
- name: Checkout the Repo | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | ||
|
||
- name: Setup .NET | ||
uses: actions/setup-dotnet@607fce577a46308457984d59e4954e075820f10a # v3.0.3 | ||
with: | ||
global-json-file: src/global.json | ||
|
||
- name: Dependency Review ("Dependabot on PR") | ||
uses: actions/dependency-review-action@7bbfa034e752445ea40215fff1c3bf9597993d3f # v3.1.3 | ||
|
||
- name: Initialize CodeQL | ||
if: success() | ||
uses: github/codeql-action/init@df32e399139a3050671466d7d9b3cbacc1cfd034 # codeql-bundle-v2.15.2 | ||
with: | ||
languages: csharp | ||
|
||
# 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 for CodeQL | ||
run: dotnet build webapi --nologo | ||
|
||
- name: Perform CodeQL Analysis | ||
if: success() | ||
uses: github/codeql-action/analyze@df32e399139a3050671466d7d9b3cbacc1cfd034 # codeql-bundle-v2.15.2 | ||
|
63 changes: 0 additions & 63 deletions
63
src/API/LeadershiProfileAPI.Tests/Extensions/ProfileSearchRequestBodyExtensions.cs
This file was deleted.
Oops, something went wrong.
73 changes: 0 additions & 73 deletions
73
src/API/LeadershiProfileAPI.Tests/Features/Profile/GetTests.cs
This file was deleted.
Oops, something went wrong.
124 changes: 0 additions & 124 deletions
124
src/API/LeadershiProfileAPI.Tests/Features/Search/ListTests.cs
This file was deleted.
Oops, something went wrong.
57 changes: 0 additions & 57 deletions
57
src/API/LeadershiProfileAPI.Tests/Features/Search/SearchAllTestUtility.cs
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.