diff --git a/.github/workflows/miss_hit_quality.yml b/.github/workflows/miss_hit_quality.yml index 95d7bad..7fab7fd 100644 --- a/.github/workflows/miss_hit_quality.yml +++ b/.github/workflows/miss_hit_quality.yml @@ -4,35 +4,31 @@ on: push: branches: - master - pull_request: - branches: ['*'] jobs: build: - runs-on: ubuntu-latest steps: - - - uses: actions/checkout@v3 - with: - submodules: true - fetch-depth: 1 - - - name: Set up Python 3.6 - uses: actions/setup-python@v4 - with: - python-version: 3.6 - - - name: Install dependencies - run: | - python -m pip install --upgrade pip setuptools - pip3 install -r requirements.txt - - - name: MISS_HIT Metrics - run: | - mh_metric --ci - - - name: MISS_HIT Bug finder - run: | - mh_lint + - uses: actions/checkout@v3 + with: + submodules: true + fetch-depth: 1 + + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: 3.11 + + - name: Install dependencies + run: | + python -m pip install --upgrade pip setuptools + pip3 install -r requirements.txt + + - name: MISS_HIT Metrics + run: | + mh_metric --ci + + - name: MISS_HIT Bug finder + run: | + mh_lint diff --git a/.github/workflows/miss_hit_style.yml b/.github/workflows/miss_hit_style.yml index 2d11dec..9a4ae4a 100644 --- a/.github/workflows/miss_hit_style.yml +++ b/.github/workflows/miss_hit_style.yml @@ -4,31 +4,27 @@ on: push: branches: - master - pull_request: - branches: ['*'] jobs: build: - runs-on: ubuntu-latest steps: - - - uses: actions/checkout@v3 - with: - submodules: true - fetch-depth: 1 - - - name: Set up Python 3.6 - uses: actions/setup-python@v4 - with: - python-version: 3.6 - - - name: Install dependencies - run: | - python -m pip install --upgrade pip setuptools - pip3 install -r requirements.txt - - - name: MISS_HIT Code style - run: | - mh_style + - uses: actions/checkout@v3 + with: + submodules: true + fetch-depth: 1 + + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: 3.11 + + - name: Install dependencies + run: | + python -m pip install --upgrade pip setuptools + pip3 install -r requirements.txt + + - name: MISS_HIT Code style + run: | + mh_style