diff --git a/.github/workflows/static-code-analysis.yml b/.github/workflows/static-code-analysis.yml index 84e0b64..15ec606 100644 --- a/.github/workflows/static-code-analysis.yml +++ b/.github/workflows/static-code-analysis.yml @@ -35,10 +35,10 @@ on: machine-types: required: false type: string - default: "['ubuntu-22.04', 'windows-2022']" + default: "['ubuntu-24.04', 'windows-2022']" description: > Stringified JSON array with the name of the type of machine(s) to run the workflow under, e.g. - "['ubuntu-22.04']" or "['ubuntu-22.04', 'windows-2022']". + "['ubuntu-24.04']" or "['ubuntu-24.04', 'windows-2022']". timeout-minutes: required: false type: number diff --git a/.github/workflows/test-analysis-failure.yml b/.github/workflows/test-analysis-failure.yml index 9202562..492724f 100644 --- a/.github/workflows/test-analysis-failure.yml +++ b/.github/workflows/test-analysis-failure.yml @@ -12,7 +12,7 @@ jobs: name: Test Analysis Failure - NuGet PackageReference uses: Lombiq/GitHub-Actions/.github/workflows/test-analysis-failure.yml@dev with: - machine-types: "['ubuntu-latest', 'windows-latest']" + machine-types: "['ubuntu-24.04', 'windows-2022']" build-directory: TestSolutions/Lombiq.Analyzers.PowerShell.PackageReference timeout-minutes: 30 build-expected-code-analysis-errors: | @@ -38,7 +38,7 @@ jobs: name: Test Analysis Failure - Local ProjectReference uses: Lombiq/GitHub-Actions/.github/workflows/test-analysis-failure.yml@dev with: - machine-types: "['ubuntu-latest', 'windows-latest']" + machine-types: "['ubuntu-24.04', 'windows-2022']" build-directory: TestSolutions/Lombiq.Analyzers.PowerShell.ProjectReference timeout-minutes: 30 build-expected-code-analysis-errors: | diff --git a/Readme.md b/Readme.md index 56f8117..b1b4925 100644 --- a/Readme.md +++ b/Readme.md @@ -17,7 +17,7 @@ Do you want to quickly try out this project and see it in action? Check it out i - You must have [PowerShell 7 or greater installed](https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell). - The _PSScriptAnalyzer_ module must be installed. The script will attempt to auto-install it, however if this fails (e.g. on Windows PowerShell you have to be admin to install modules) follow the steps [here](https://docs.microsoft.com/en-us/powershell/utility-modules/psscriptanalyzer/overview?view=ps-modules#installing-psscriptanalyzer). -Note that if you are using this in GitHub Actions, the common images (`windows-latest` and `ubuntu-latest`) already have these so you don't need to install anything. +Note that if you are using this in GitHub Actions, the common images (`windows-2022` and `ubuntu-24.04`) already have these so you don't need to install anything. ### Usage