From 6aed55dfc56838f59d6a5f5406ff8919c8e81ca4 Mon Sep 17 00:00:00 2001 From: Gavin Wiggins <6828967+wigging@users.noreply.github.com> Date: Mon, 30 Dec 2024 09:30:18 -0500 Subject: [PATCH] Run GitHub Actions workflows on macos-15 --- .github/workflows/lint.yml | 16 ++++++++-------- .github/workflows/test.yml | 18 +++++++++--------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index fe2f4f6..9608846 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,17 +1,17 @@ -name: Check Code Style +name: Run linter checks on: push: - branches: [ "main" ] + branches: ["main"] pull_request: - branches: [ "main" ] + branches: ["main"] jobs: - check-style: - runs-on: macos-latest + linter: + runs-on: macos-15 steps: - uses: actions/checkout@v4 - - name: Install SwiftLint + - name: Install swiftlint run: brew install swiftlint - - name: Run Linter - run: swiftlint \ No newline at end of file + - name: Run linter checks + run: swiftlint diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index eba8d33..e398a7b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,19 +1,19 @@ -name: Run Tests +name: Run swift tests on: push: - branches: [ "main" ] + branches: ["main"] pull_request: - branches: [ "main" ] + branches: ["main"] jobs: - test-code: - runs-on: macos-latest + tests: + runs-on: macos-15 steps: - uses: actions/checkout@v4 - - name: Select Xcode + - name: Select xcode version run: sudo xcode-select --switch /Applications/Xcode_16.2.app - - name: Build Package + - name: Build the package run: swift build - - name: Run Tests - run: swift test \ No newline at end of file + - name: Run tests with swift + run: swift test