From 852f7ed0cc0ceedf190636d1adca02c4b635f926 Mon Sep 17 00:00:00 2001 From: KoalaGeo Date: Fri, 30 Sep 2022 03:46:16 +0100 Subject: [PATCH] Remove **.py requirement (#1002) * Remove **.py requirement * use paths-ignore * change python version to 3.7.14 * Rename pytorch > pygeoapi --- .github/workflows/lint.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index b0f2777..a8eaae7 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -2,14 +2,12 @@ name: Lint on: push: - paths: - - '*.py' - - '!**.md' + paths-ignore: + - '**.md' pull_request: branches: - master - paths: - - '*.py' + paths-ignore: - '!**.md' release: types: @@ -22,9 +20,9 @@ jobs: - name: Setup Python uses: actions/setup-python@v1 with: - python-version: 3.7.4 + python-version: 3.7.14 architecture: x64 - - name: Checkout PyTorch + - name: Checkout pygeoapi uses: actions/checkout@master - name: Install flake8 run: pip install flake8 @@ -33,4 +31,4 @@ jobs: with: checkName: 'flake8_py3' # NOTE: this needs to be the same as the job name env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}