build(deps): update github/codeql-action action to v4.35.4 #521
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: CI | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| FORCE_COLOR: 3 | |
| jobs: | |
| ci: | |
| runs-on: self-hosted | |
| if: github.repository == 'AgiBot-World/VideoDataset' | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| fetch-depth: 0 | |
| - run: make dev-test,doc,lint | |
| - run: make pre-commit | |
| - run: make test | |
| - run: make doc | |
| - run: make build | |
| - name: Upload coverage report | |
| uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| - name: Upload pages artifact | |
| uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4 | |
| with: | |
| path: public | |
| pages: | |
| environment: | |
| name: github-pages | |
| url: ${{ steps.deployment.outputs.page_url }} | |
| runs-on: ubuntu-24.04 | |
| if: > | |
| github.event_name == 'release' && github.event.action == 'published' || | |
| github.ref == 'refs/heads/main' | |
| needs: | |
| - ci | |
| permissions: | |
| id-token: write | |
| pages: write | |
| steps: | |
| - id: deployment | |
| name: Deploy to GitHub Pages | |
| uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4 | |
| build_wheels: | |
| uses: ./.github/workflows/reuseable_cibuildwheel.yml | |
| secrets: inherit | |
| with: | |
| auto: true | |
| extra: false |