Skip to content

Commit

Permalink
Run GitHub Actions workflows on macos-15
Browse files Browse the repository at this point in the history
  • Loading branch information
wigging committed Dec 30, 2024
1 parent bb594d1 commit 6aed55d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -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
- name: Run linter checks
run: swiftlint
18 changes: 9 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -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
- name: Run tests with swift
run: swift test

0 comments on commit 6aed55d

Please sign in to comment.