Add .editorconfig
and lint github workflow
#12
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: null | |
pull_request: null | |
jobs: | |
build: | |
name: Lint | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: read | |
# To report GitHub Actions status checks | |
statuses: write | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
# super-linter needs the full git history to get the | |
# list of files that changed across commits | |
fetch-depth: 0 | |
- name: Super-linter | |
uses: super-linter/[email protected] # x-release-please-version | |
env: | |
# To report GitHub Actions status checks | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# Will parse the entire repository and find all files to validate across all types. | |
# NOTE: When set to false, only new or edited files will be parsed for validation. | |
VALIDATE_ALL_CODEBASE: true | |
# Default repository branch when running on GitHub Actions | |
DEFAULT_BRANCH: main | |
VALIDATE_JAVA: true |