Skip to content

Commit

Permalink
ci: update lint GitHub workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
bouassaba committed Nov 24, 2024
1 parent 996580c commit a7ffeb9
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ jobs:
container:
image: swift:5.10-noble
steps:
- uses: actions/checkout@v2
- name: Checkout Repository
uses: actions/checkout@v4

- name: Set Up swiftlint
run: |
sudo apt-get update && sudo apt-get install -y unzip curl
Expand All @@ -34,10 +36,10 @@ jobs:
run: swiftlint lint --strict .

format:
runs-on: ubuntu-latest
container:
image: swift:5.10-noble
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Checkout Repository
uses: actions/checkout@v4

- name: Lint Using swift-format
run: swift format lint -r .
uses: feather-actions/run-swift-format@0.0.2

0 comments on commit a7ffeb9

Please sign in to comment.