Skip to content

Commit

Permalink
ci: use ubuntu to reduce minute usage
Browse files Browse the repository at this point in the history
  • Loading branch information
ErrorErrorError committed Dec 13, 2023
1 parent 9618bf1 commit f0793b7
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,22 @@ on:

jobs:
run-swiftlint:
runs-on: macos-13
runs-on: ubuntu-latest
container:
image: ghcr.io/realm/swiftlint:0.54.0
steps:
- uses: actions/checkout@v3

- name: Lint code using SwiftLint
run: |
swiftlint --version
swiftlint lint --reporter github-actions-logging
run-swiftformat:
runs-on: macos-13
runs-on: ubuntu-latest
container:
image: ghcr.io/nicklockwood/swiftformat:0.52.11
steps:
- uses: actions/checkout@v3

- name: Install SwiftFormat
run: |
brew install SwiftFormat
- name: Lint code using SwiftFormat
run: |
swiftformat --version
Expand Down

0 comments on commit f0793b7

Please sign in to comment.