From 12a6b3bf2747866ce1f540ac519609dcedcb137d Mon Sep 17 00:00:00 2001 From: system205 Date: Wed, 10 Apr 2024 20:41:39 +0300 Subject: [PATCH 1/2] add lint --- .github/workflows/lint.yaml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/lint.yaml 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 }} From 0fb937d27665c9a3064909e33a37c9fd8c77ad5b Mon Sep 17 00:00:00 2001 From: system205 Date: Wed, 10 Apr 2024 20:43:20 +0300 Subject: [PATCH 2/2] add badge --- README.md | 1 + 1 file changed, 1 insertion(+) 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