From c99a52b87f722c75229b3d27c4c62058c45cd1c8 Mon Sep 17 00:00:00 2001 From: keeeal Date: Fri, 19 Apr 2024 14:59:58 +0930 Subject: [PATCH] . --- .github/workflows/linting.yaml | 25 ------------------------- .github/workflows/tests.yaml | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 25 deletions(-) delete mode 100644 .github/workflows/linting.yaml diff --git a/.github/workflows/linting.yaml b/.github/workflows/linting.yaml deleted file mode 100644 index 6078842..0000000 --- a/.github/workflows/linting.yaml +++ /dev/null @@ -1,25 +0,0 @@ -name: linting - -on: - push: - branches: - - main - pull_request: - -jobs: - linting: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - - uses: actions/setup-python@v5 - with: - python-version: '3.x' - - - name: Install dependencies - run: | - make install dev=true - - - name: Check linting - run: | - make lint diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 11f5d85..189c4f4 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -7,6 +7,24 @@ on: pull_request: jobs: + + linting: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-python@v5 + with: + python-version: '3.x' + + - name: Install dependencies + run: | + make install dev=true + + - name: Check linting + run: | + make lint + tests: runs-on: ubuntu-latest steps: