Skip to content

fix: swift package complains of having a dependency on a branch #700

fix: swift package complains of having a dependency on a branch

fix: swift package complains of having a dependency on a branch #700

Workflow file for this run

---
name: Linter
on:
push:
branches:
- main
pull_request:
jobs:
lint:
name: Lint changes
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
# - name: Mega-Linter
# id: ml
# uses: megalinter/megalinter@v6
# env:
# VALIDATE_ALL_CODEBASE: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
# DISABLE: COPYPASTE,SPELL
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# DISABLE_LINTERS: SWIFT_SWIFTLINT,YAML_V8R,REPOSITORY_DEVSKIM,REPOSITORY_TRIVY,REPOSITORY_GITLEAKS
- name: SwiftLint
uses: norio-nomura/[email protected]
with:
args: --strict
env:
DIFF_BASE: ${{ github.base_ref }}
# - name: Archive production artifacts
# if: success() || failure()
# uses: actions/upload-artifact@v2
# with:
# name: Mega-Linter reports
# path: |
# report
# mega-linter.log