diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 80ab193..0220b78 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -17,7 +17,7 @@ on: jobs: analyze: name: Analyze - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 strategy: fail-fast: false @@ -39,13 +39,20 @@ jobs: - run: git checkout HEAD^2 if: ${{ github.event_name == 'pull_request' }} + # ensure dotnet + - uses: actions/setup-dotnet@v4.0.0 + with: + dotnet-version: | + 5.0.x + 8.0.x + # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. - # By default, queries listed here will override any specified in a config file. + # By default, queries listed here will override any specified in a config file. # Prefix the list here with "+" to use these queries and those in the config file. # queries: ./path/to/local/query, your-org/your-repo/queries@main diff --git a/.github/workflows/dependabot-cake.yml b/.github/workflows/dependabot-cake.yml index 304c519..2d0f60b 100644 --- a/.github/workflows/dependabot-cake.yml +++ b/.github/workflows/dependabot-cake.yml @@ -7,7 +7,7 @@ on: jobs: dependabot-cake: - runs-on: ubuntu-18.04 # linux, because this is a docker-action + runs-on: ubuntu-22.04 # linux, because this is a docker-action steps: - name: check/update cake dependencies uses: nils-org/dependabot-cake-action@v1 \ No newline at end of file diff --git a/.github/workflows/publishDocs.yml b/.github/workflows/publishDocs.yml index 6bdb785..86cd25f 100644 --- a/.github/workflows/publishDocs.yml +++ b/.github/workflows/publishDocs.yml @@ -11,7 +11,7 @@ env: jobs: cake: - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 steps: - name: checkout @@ -19,7 +19,7 @@ jobs: with: fetch-depth: 0 # GitVersion is somewhat irritated when fetch-depth is "1".... ref: ${{ github.event.ref }} - + - name: Cache Tools uses: actions/cache@v4 with: diff --git a/.github/workflows/release-notes.yml b/.github/workflows/release-notes.yml index 9460691..512e4c3 100644 --- a/.github/workflows/release-notes.yml +++ b/.github/workflows/release-notes.yml @@ -7,7 +7,7 @@ jobs: draft-stable: env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 steps: - name: Checkout the requested branch diff --git a/build.ps1 b/build.ps1 index 0940a31..ef620a4 100644 --- a/build.ps1 +++ b/build.ps1 @@ -1,5 +1,3 @@ -$ErrorActionPreference = 'Stop' - $SCRIPT_NAME = "recipe.cake" Write-Host "Restoring .NET Core tools"