Fix crash when getting light level below world (by fixing BlockPositi… #355
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
swift-lint: | |
runs-on: macOS-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Lint | |
run: | | |
URL="https://github.com/realm/SwiftLint/releases/download/0.50.3/portable_swiftlint.zip" | |
curl -LO "$URL" | |
unzip portable_swiftlint -d ./swiftlint | |
rm -rf portable_swiftlint.zip | |
echo "Linting with swiftlint $(./swiftlint/swiftlint version)" | |
./swiftlint/swiftlint lint --reporter github-actions-logging | |
shell: bash |