From 17c66b6afa05069f746e3bf21caf089e60509021 Mon Sep 17 00:00:00 2001 From: Francesco Romani Date: Tue, 28 Jan 2025 15:29:59 +0100 Subject: [PATCH] gh action: update macos lane per https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories the oldest support macos version is nowadays 13, so use it instead of no longer available v12. In addition, bump the golang version on macos to a more respectable 1.21 instead of ancient 1.18 (see also: https://github.com/jaypipes/ghw/pull/397) Signed-off-by: Francesco Romani --- .github/workflows/test.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 37b4fbdf..702399a0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -155,12 +155,12 @@ jobs: # NOTE(jaypipes): We currently only support block information on MacOS, and # the tests have block skipped because we cannot get meaningful information # about the block devices in the Github Actions Runner virtual machines. So - # this is really just a test of whether the library builds on MacOS 12. - macos-12: - runs-on: macos-12 + # this is really just a test of whether the library builds on MacOS 13. + macos-13: + runs-on: macos-13 strategy: matrix: - go: [ '1.18' ] + go: [ '1.21' ] steps: - name: harden runner uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1