diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f96a9fbe..a7e78de6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,7 +34,7 @@ jobs: arch: x86-64 - os: macos - runs-on: macos-13 + runs-on: macos-15-intel arch: x86-64 - os: macos diff --git a/.github/workflows/fetch-configlet.yml b/.github/workflows/fetch-configlet.yml index 82a3232d..7ccd0fd0 100644 --- a/.github/workflows/fetch-configlet.yml +++ b/.github/workflows/fetch-configlet.yml @@ -19,7 +19,7 @@ jobs: runs-on: ubuntu-24.04 - os: macos - runs-on: macos-13 + runs-on: macos-15-intel - os: windows runs-on: windows-2022 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e5023724..c04b2376 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -22,7 +22,7 @@ jobs: arch: x86-64 - os: macos - runs-on: macos-13 + runs-on: macos-15-intel arch: x86-64 - os: windows diff --git a/tests/test_binary_fmt.nim b/tests/test_binary_fmt.nim index f70f044a..13642479 100644 --- a/tests/test_binary_fmt.nim +++ b/tests/test_binary_fmt.nim @@ -211,8 +211,7 @@ proc main = suite "fmt, with --update, without --yes, for an exercise that is not formatted (no diff, and exits with 1)": test "-e bob": - let exitCode = execCmdEx(&"{fmtUpdateUnformatted} -e bob")[1] - check exitCode == 1 + execAndCheckExitCode(1, &"{fmtUpdateUnformatted} -e bob", inputStr = "n") checkNoDiff(unformattedTrackDir) suite "fmt, with --update, for an exercise that is not formatted (diff, and exits with 0)":