Upgrade scikit-learn to 1.5.0 to fix dependabot issue #6646
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: code style checking | |
# Controls when the action will run. | |
on: | |
push: | |
branches: [ branch-2.0 ] | |
pull_request: | |
branches: [ branch-2.0 ] | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
# This workflow contains a single job called "build" | |
style-check: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
python-version: [3.7] | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: pip install pycodestyle | |
# Runs a single command using the runners shell | |
- name: License checking | |
run: bash python/dev/check-license | |
- name: Nano style checking | |
run: bash python/nano/test/run-nano-codestyle-test.sh | |
env: | |
ANALYTICS_ZOO_ROOT: ${{ github.workspace }} | |
- name: Dllib style checking | |
run: bash python/dllib/dev/lint-python | |
- name: Orca style checking | |
run: bash python/orca/dev/test/lint-python | |
- name: Friesian style checking | |
run: bash python/friesian/dev/test/lint-python | |
- name: Chronos style checking | |
run: bash python/chronos/dev/test/lint-python |