From c1be3d6d518fdd01195b0c682bbc3d189dd1286f Mon Sep 17 00:00:00 2001 From: Keegan Caruso Date: Tue, 9 Jan 2024 14:11:52 -0800 Subject: [PATCH] run pack in pr build (#2442) Co-authored-by: Keegan Caruso --- .github/workflows/codeql-analysis.yml | 4 ++-- .github/workflows/dotnetcore.yml | 21 +++++++++++++-------- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index ff027864f6..eb92eb6865 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -2,14 +2,14 @@ name: "CodeQL" on: push: - branches: [ "dev", "dev7" ] + branches: [ "dev", "dev6x" ] pull_request: types: - opened - synchronize - reopened - ready_for_review - branches: [ "dev", "dev7" ] + branches: [ "dev", "dev6x" ] jobs: analyze: diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml index 14ae54d37a..e06dad807d 100644 --- a/.github/workflows/dotnetcore.yml +++ b/.github/workflows/dotnetcore.yml @@ -23,18 +23,23 @@ jobs: name: Wilson GitHub Action Test steps: - name: Checkout repository - uses: actions/checkout@v2.3.4 - - name: Setup .NET 6.0.301 - uses: actions/setup-dotnet@v2.1.0 - with: - dotnet-version: 6.0.301 + uses: actions/checkout@v4.1.1 + - name: Setup .NET 8.0.x - uses: actions/setup-dotnet@v2.1.0 + uses: actions/setup-dotnet@v4.0.0 with: - dotnet-version: 8.0.100-rc.1.23463.5 - + dotnet-version: 8.0.x + + - name: update versions + run: .\updateAssemblyInfo.ps1 + # Build and test - name: Restore packages run: dotnet restore Wilson.sln + - name: Run the tests run: dotnet test Wilson.sln + + # Run baseline package validation + - name: Pack + run: .\pack.ps1