Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't use SwiftLint file in repo #46

Open
eonist opened this issue Sep 24, 2023 · 2 comments
Open

Can't use SwiftLint file in repo #46

eonist opened this issue Sep 24, 2023 · 2 comments

Comments

@eonist
Copy link

eonist commented Sep 24, 2023

https://github.com/eonist/TestRunner/blob/master/.github/workflows/Tests.yml

But it uses some other SwiftLint file, not the one in the project, any idea how to fix this?

My workflow looks like this:

name: Tests

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
   #Something wrong with swiftlint action, figure it out later
  SwiftLint: ## Adds swift-linting to GH actions
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - name: GitHub Action for SwiftLint
        uses: norio-nomura/[email protected]
        with:
          args: --config .swiftlint.yml
  build:
    runs-on: macos-latest
    steps:
    - uses: actions/checkout@v2
    - name: Build
      run: swift build -v
@joshgordon1
Copy link

@eonist Were you able to resolve this?

@eonist
Copy link
Author

eonist commented Dec 6, 2023

Nope. I gave up using SwiftLint in GitHub actions, it was working great for about a year. Just use it locally now. Might dedicate some time in the future to re-add it again to different projects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants