From 7d37b79015d497c0d192aa07fb3053881cf889d8 Mon Sep 17 00:00:00 2001 From: Marin Usalj Date: Fri, 12 Aug 2022 12:13:11 -0400 Subject: [PATCH] [github] Use macos-12 It might be beneficial to set up a matrix ([docs](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-using-a-multi-dimension-matrix)) and run all major supported macOS versions in parallel. Reason: macos-10.15 is [being deprecated](https://github.com/actions/runner-images/issues/5583) and will be fully unsupported by Aug 30 2022. --- .github/workflows/build.yml | 2 +- .github/workflows/debug.yml | 2 +- .github/workflows/test.yml | 6 +++--- .github/workflows/update-manual.yml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bdb5574b..6f5be533 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,7 +10,7 @@ on: - build jobs: build: - runs-on: macos-10.15 + runs-on: macos-12 steps: - uses: actions/checkout@v2 - uses: cachix/install-nix-action@v9 diff --git a/.github/workflows/debug.yml b/.github/workflows/debug.yml index e8e912da..fd9bf9dc 100644 --- a/.github/workflows/debug.yml +++ b/.github/workflows/debug.yml @@ -10,7 +10,7 @@ on: - debug jobs: debug: - runs-on: macos-10.15 + runs-on: macos-12 steps: - uses: actions/checkout@v2 - uses: cachix/install-nix-action@v15 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 57b63706..68594ae6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,7 +4,7 @@ on: push: jobs: tests: - runs-on: macos-10.15 + runs-on: macos-12 timeout-minutes: 30 steps: - uses: actions/checkout@v2 @@ -13,7 +13,7 @@ jobs: - run: nix-build ./release.nix -I nixpkgs=channel:nixpkgs-21.05-darwin -I darwin=. -A manpages - run: nix-build ./release.nix -I nixpkgs=channel:nixpkgs-21.05-darwin -I darwin=. -A examples.simple install: - runs-on: macos-10.15 + runs-on: macos-12 timeout-minutes: 30 steps: - uses: actions/checkout@v2 @@ -39,7 +39,7 @@ jobs: with: limit-access-to-actor: true install-flake: - runs-on: macos-10.15 + runs-on: macos-12 timeout-minutes: 60 steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/update-manual.yml b/.github/workflows/update-manual.yml index c9b70b16..c8083d19 100644 --- a/.github/workflows/update-manual.yml +++ b/.github/workflows/update-manual.yml @@ -8,7 +8,7 @@ on: jobs: update-manual: - runs-on: macos-10.15 + runs-on: macos-12 steps: - name: Checkout repository uses: actions/checkout@v3