diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 3fe79f33..943bfcef 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -14,23 +14,19 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.6, 3.7, 3.8] + python-version: ['3.11'] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 with: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | - python -m pip install --upgrade pip - pip install flake8 pytest mock - - name: Install tensorflow cloud from setup - run: | - pip install src/python/. - pip install nbconvert + python -m pip install --upgrade pip uv + python -m uv pip install --system --python "$(which python)" flake8 pytest mock nbconvert src/python/. - name: Lint with flake8 run: | # stop the build if there are Python syntax errors or undefined names