Skip to content

Commit c9cffe9

Browse files
authored
Merge pull request #111 from AndrewDWhite/dev
Adding linter workflow. No changes to functionality.
2 parents 25ffe84 + 753c0d5 commit c9cffe9

File tree

2 files changed

+37
-1
lines changed

2 files changed

+37
-1
lines changed

.github/workflows/lint.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Lint
2+
3+
on:
4+
# Trigger the workflow on push or pull request,
5+
# but only for the main branch
6+
pull_request:
7+
branches:
8+
- main
9+
10+
jobs:
11+
run-linters:
12+
name: Run linters
13+
runs-on: windows-latest
14+
15+
steps:
16+
- name: Check out Git repository
17+
uses: actions/checkout@v2
18+
19+
- name: Set up Python
20+
uses: actions/setup-python@v2
21+
with:
22+
python-version: 3.7
23+
architecture: 'x86'
24+
25+
- name: Install dependencies
26+
run: |
27+
py -3.7-32 -m pip install --upgrade pip
28+
py -3.7-32 -m pip install -r requirements/requirements_dev.txt
29+
py -3.7-32 -m pip install -r requirements/requirements_dev.txt --target ./src/
30+
py -3.7-32 -m pip install black flake8
31+
32+
- name: Run linters
33+
uses: wearerequired/lint-action@v2
34+
with:
35+
black: true
36+
flake8: true

src/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "importer",
33
"platform": "test",
44
"guid": "97543122-7785-4444-2254-711233556699",
5-
"version": "0.15-5431977b0312b28e36878c0605754f4d2512bc96",
5+
"version": "0.18-baf824762c5d5676b2fe6e11912cb7b0843023af",
66
"description": "Plugin for GOG Galaxy supporting programmatic importation of multiplatform game libraries. Allows for the generic definition of files to be added using user definable regular expressions.",
77
"author": "Andrew David White",
88
"email": "972757+AndrewDWhite@users.noreply.github.com",

0 commit comments

Comments
 (0)