ci: Be explicit about the version of linux and windows runner images

Using the -latest tag is potentially prone to errors, because an update of the tag
could break our CI. This recently happend with macos-latest, which we downgraded
to macos-12 earlier.

Using an explicit version reference makes this problem much less likely - in fact
renovate will pick up new versions once they exist and will suggest updates for it.
Thus, we will see the failures in a related PR instead of randomly everywhere.
This commit is contained in:
Wolfgang Walther
2024-04-22 21:20:30 +02:00
parent dcb9f92b80
commit 6858693291
6 changed files with 20 additions and 20 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ concurrency:
jobs:
lint-style:
name: Lint & Style
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Setup Nix Environment