Skip to content

Commit

Permalink
Merge pull request #47 from Lombiq/issue/INFRA-164
Browse files Browse the repository at this point in the history
INFRA-164: GHA/WarpBuild runner OS version pinning
  • Loading branch information
BenedekFarkas authored Oct 31, 2024
2 parents 55749e6 + f28fb3d commit 3e67d5a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/static-code-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-analysis-failure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 3e67d5a

Please sign in to comment.