Skip to content

fix(Storage): Removing testable import on PresignURL extension #950

fix(Storage): Removing testable import on PresignURL extension

fix(Storage): Removing testable import on PresignURL extension #950

Workflow file for this run

name: SwiftLint
on:
workflow_dispatch:
workflow_call:
inputs:
identifier:
required: true
type: string
push:
branches-ignore:
- main
- v1
- release
- release-v1
permissions:
contents: read
concurrency:
group: ${{ inputs.identifier || github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.ref_name != 'main'}}
jobs:
run-swiftlint:
runs-on: ubuntu-latest
container:
image: ghcr.io/realm/swiftlint:0.54.0
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 #v3.5.3
with:
persist-credentials: false
- name: SwiftLint
run: |
swiftlint --reporter github-actions-logging
confirm-pass:
runs-on: ubuntu-latest
name: Confirm Passing SwiftLint
if: ${{ !cancelled() }}
needs: [ run-swiftlint ]
env:
EXIT_CODE: ${{ contains(needs.*.result, 'failure') && 1 || 0 }}
steps:
- run: exit $EXIT_CODE