-
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.
- Loading branch information
Luke Georgalas
committed
May 17, 2024
0 parents
commit ebb1e62
Showing
65 changed files
with
21,424 additions
and
0 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,47 @@ | ||
name: Full Build | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
types: [opened, synchronize, reopened] | ||
jobs: | ||
build: | ||
name: Build and analyze | ||
container: oraclelinux:8 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Install prereqs | ||
run: | | ||
dnf install -y \ | ||
jq \ | ||
git \ | ||
tar \ | ||
libicu \ | ||
curl | ||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: 17 | ||
distribution: 'zulu' # Alternative distribution options are available. | ||
- name: Set up .Net 8 | ||
uses: actions/[email protected] | ||
with: | ||
dotnet-version: '8.0.200' | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18 | ||
architecture: 'x64' | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis | ||
- name: Build, test, and analyze | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any | ||
shell: bash | ||
run: | | ||
dotnet msbuild -restore ./InsecureProject.sln | ||
dotnet build ./InsecureProject.sln -m:1 | ||
permissions: | ||
pull-requests: write | ||
contents: write |
Oops, something went wrong.