Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(package-tests): pin runner versions #7

Merged
merged 1 commit into from
Aug 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 17 additions & 15 deletions .github/workflows/package-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
package-targets:
name: Identify packages to test
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
outputs:
packages: ${{ steps.via-input.outputs.packages || steps.changed-packages.outputs.all_changed_files }}

Expand Down Expand Up @@ -54,33 +54,35 @@ jobs:
- win_x64
- win_x86

# https://github.com/actions/runner-images/tree/main?tab=readme-ov-file#available-images
include:
- target: linux_x64
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
- target: linux_x64_gnu
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
- target: linux_x86
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
- target: linux_arm
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
- target: linux_arm_gnu
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
- target: linux_arm64
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
- target: linux_arm64_gnu
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
- target: darwin_x64
runs-on: macos-latest
# macos-13 runs on Intel (x64) hardware. x64 on macOS 14 (macos-14-large) requires a paid plan.
runs-on: macos-13
- target: darwin_arm64
runs-on: macos-latest
runs-on: macos-14
- target: win_x64
runs-on: windows-latest
runs-on: windows-2022
- target: win_x86
runs-on: windows-latest
runs-on: windows-2022
- target: win_arm64
runs-on: windows-latest
runs-on: windows-2022
- target: win_arm
runs-on: windows-latest
runs-on: windows-2022

runs-on: ${{ matrix.runs-on }}
steps:
Expand All @@ -95,7 +97,7 @@ jobs:
# Add this job to `Status checks that are required`
status-check:
name: Status check
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: tests
if: 'failure() || cancelled()'
steps:
Expand Down
Loading