diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml new file mode 100644 index 0000000..fae45fa --- /dev/null +++ b/.github/workflows/lint.yaml @@ -0,0 +1,32 @@ +name: Lint + +on: # yamllint disable-line rule:truthy + push: null + pull_request: null + +permissions: { } + +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/super-linter@v6.3.1 # x-release-please-version + env: + # To report GitHub Actions status checks + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/README.md b/README.md index 8dc4ef3..820d501 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ +[![Super-Linter](https://github.com///actions/workflows/lint.yaml/badge.svg)](https://github.com/marketplace/actions/super-linter) # Intro This is a **Java-Swing** based Dropping Bricks Problem game. - You can read a **manual** below to understand the playing flow