FIX: No tensorflow in docs environment. This should fix the issues with building the examples. #149
Workflow file for this run
This file contains hidden or 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: linting | |
| on: | |
| push: | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| pre-job: | |
| runs-on: ubuntu-latest | |
| outputs: | |
| should_skip: ${{ steps.skip_check.outputs.should_skip }} | |
| steps: | |
| - id: skip_check | |
| uses: fkirc/skip-duplicate-actions@master | |
| with: | |
| concurrent_skipping: 'same_content' | |
| skip_after_successful_duplicate: 'false' | |
| do_not_skip: '["workflow_dispatch", "schedule"]' | |
| linting: | |
| needs: pre-job | |
| runs-on: ubuntu-latest | |
| if: ${{ needs.pre-job.outputs.should_skip != 'true' }} | |
| steps: | |
| - name: Cancel Previous Runs | |
| uses: styfle/cancel-workflow-action@0.12.1 | |
| with: | |
| access_token: ${{ github.token }} | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-python@v6 | |
| - uses: pre-commit/action@v3.0.1 |