action-swiftlint
action-swiftlint copied to clipboard
Can't use SwiftLint file in repo
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
@eonist Were you able to resolve this?
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.