fix: better handling of errors when content-length is absent but cont… #5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "CodeQL" | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| env: | |
| CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT: true | |
| jobs: | |
| analyze: | |
| name: Analyze | |
| runs-on: macos-latest | |
| permissions: | |
| actions: read | |
| contents: read | |
| security-events: write | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| language: [ 'swift' ] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@main | |
| with: | |
| languages: ${{ matrix.language }} | |
| - name: Build library | |
| run: swift build | |
| - name: Perform CodeQL Analysis | |
| uses: github/codeql-action/analyze@main | |
| with: | |
| category: "/language:${{matrix.language}}" |