Skip to content

Commit

Permalink
ci: add lint workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
RoryPTB committed Jul 26, 2024
1 parent 2f7f6a6 commit 3999979
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: GitHub checkout
- name: Checkout code
uses: actions/checkout@v4

# To make the app correctly on MacOS, the Python version must be < 3.12
Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/test-code-quality.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Test Code Quality

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/[email protected] # x-release-please-version
env:
# To report GitHub Actions status checks
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
### The desktop application for managing your WIS2 Downloader

<a href="https://github.com/wmo-im/wis2-subscription-manager/blob/main/LICENSE" alt="License" ><img src="https://img.shields.io/badge/License-Apache_2.0-blue"></img></a>
[![Super-Linter](https://github.com/<OWNER>/<REPOSITORY>/actions/workflows/<WORKFLOW_FILE_NAME>/badge.svg)](https://github.com/marketplace/actions/super-linter)

The WIS2 Subscription Manager is an Electron application that allows you to easily maintain your on-going subscriptions, as well as explore new topics of interest on a Global Discovery Catalogue.

Expand Down

0 comments on commit 3999979

Please sign in to comment.