Skip to content

Commit

Permalink
Update CI (#202)
Browse files Browse the repository at this point in the history
* Remove format config file

* Use central linting and test on Windows

* Remove note about Windows
  • Loading branch information
0xTim authored Oct 6, 2024
1 parent a288abe commit f158ddf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 81 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,7 @@ on:
pull_request: { types: [opened, reopened, synchronize, ready_for_review] }
push: { branches: [ main ] }

jobs:
lint:
runs-on: ubuntu-latest
container: swift:jammy
steps:
- name: Check out JWTKit
uses: actions/checkout@v4
- name: Run format lint check
run: swift format lint --strict --recursive --parallel .

jobs:
linux-integration:
if: ${{ !(github.event.pull_request.draft || false) }}
runs-on: ubuntu-latest
Expand All @@ -40,6 +31,8 @@ jobs:
with:
with_api_check: ${{ github.event_name == 'pull_request' }}
warnings_as_errors: true
with_linting: true
with_windows: true
secrets: inherit

ios-tests:
Expand Down
70 changes: 0 additions & 70 deletions .swift-format

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

### Supported Platforms

JWTKit supports all platforms supported by Swift 6 and later, with the exception of Windows.
JWTKit supports all platforms supported by Swift 6 and later.

### Installation

Expand Down

0 comments on commit f158ddf

Please sign in to comment.