Skip to content

Remove isUserLoggedIn check in TidalApi #744

Remove isUserLoggedIn check in TidalApi

Remove isUserLoggedIn check in TidalApi #744

Workflow file for this run

name: Run Lint Checks
on:
workflow_call:
pull_request:
branches:
- '**'
merge_group:
types: [checks_requested]
jobs:
run-swiftlint:
name: Run SwiftLint
runs-on: macos-14
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@v4
- name: Get changed directories
id: changed-files
uses: tj-actions/changed-files@v44
with:
files: |
**/*.swift
- name: Run swiftlint on changed files
run: |
files="${{ steps.changed-files.outputs.all_changed_files }}"
echo "Changed files: $files"
if [[ -z $files ]]; then
echo "No swift files were changed. Linter won't run"
else
./bin/swiftlint/run-swiftlint.sh $files
fi