diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9a77a65..6eb2d3d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,20 +17,18 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - with: - fetch-depth: 0 + - uses: actions/setup-python@v2 + - run: sudo apt install libgirepository1.0-dev + - run: pip install -r requirements.txt - - name: Pylint - uses: cclauss/GitHub-Action-for-pylint@master - with: - args: "apk add --no-cache gtk+3.0-dev gobject-introspection-dev ; pip install -r requirements.txt ; pylint src/**/*.py" + - name: Flake8 + run: flake8 src/ meson-build-test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - with: - fetch-depth: 0 + - uses: actions/setup-python@v2 - name: Install dependencies run: sudo apt-get -y install appstream appstream-util desktop-file-utils gettext @@ -52,6 +50,7 @@ jobs: options: --privileged steps: - uses: actions/checkout@v2 + - uses: actions/setup-python@v2 - name: Flatpak builder uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v3 with: diff --git a/requirements.txt b/requirements.txt index 95fc636..b36b8eb 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ -PyGObject~=3.40 -pylint~=2.11 +flake8 ~= 3.8 +PyGObject ~= 3.40