diff options
author | Eric Eastwood <erice@element.io> | 2022-09-13 08:58:23 -0500 |
---|---|---|
committer | Eric Eastwood <erice@element.io> | 2022-09-13 08:58:23 -0500 |
commit | ed11237fe512d201858e8f0e01c1bc1bf7445fa2 (patch) | |
tree | ce41b9c215a68f95c71bc3c4697df1ad28af8919 | |
parent | Update Twisted to lastest (diff) | |
download | synapse-ed11237fe512d201858e8f0e01c1bc1bf7445fa2.tar.xz |
Remove linting from CI for now
-rw-r--r-- | .github/workflows/tests.yml | 164 |
1 files changed, 82 insertions, 82 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index bf70f8373e..1c034143da 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -44,92 +44,92 @@ jobs: - run: "pip install 'click==8.1.1' 'GitPython>=3.1.20'" - run: scripts-dev/check_schema_delta.py --force-colors - lint: - uses: "matrix-org/backend-meta/.github/workflows/python-poetry-ci.yml@v1" - with: - typechecking-extras: "all" - - lint-crlf: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Check line endings - run: scripts-dev/check_line_terminators.sh - - lint-newsfile: - if: ${{ github.base_ref == 'develop' || contains(github.base_ref, 'release-') }} - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - with: - ref: ${{ github.event.pull_request.head.sha }} - fetch-depth: 0 - - uses: actions/setup-python@v2 - - run: "pip install 'towncrier>=18.6.0rc1'" - - run: scripts-dev/check-newsfragment.sh - env: - PULL_REQUEST_NUMBER: ${{ github.event.number }} - - lint-pydantic: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - with: - ref: ${{ github.event.pull_request.head.sha }} - fetch-depth: 0 - - uses: matrix-org/setup-python-poetry@v1 - with: - extras: "all" - - run: poetry run scripts-dev/check_pydantic_models.py - - lint-clippy: - runs-on: ubuntu-latest - needs: changes - if: ${{ needs.changes.outputs.rust == 'true' }} - - steps: - - uses: actions/checkout@v2 - - - name: Install Rust - uses: actions-rs/toolchain@v1 - with: - toolchain: 1.61.0 - override: true - components: clippy - - uses: Swatinem/rust-cache@v2 - - - run: cargo clippy - - lint-rustfmt: - runs-on: ubuntu-latest - needs: changes - if: ${{ needs.changes.outputs.rust == 'true' }} - - steps: - - uses: actions/checkout@v2 - - - name: Install Rust - uses: actions-rs/toolchain@v1 - with: - toolchain: 1.61.0 - override: true - components: rustfmt - - uses: Swatinem/rust-cache@v2 - - - run: cargo fmt --check + # lint: + # uses: "matrix-org/backend-meta/.github/workflows/python-poetry-ci.yml@v1" + # with: + # typechecking-extras: "all" + + # lint-crlf: + # runs-on: ubuntu-latest + # steps: + # - uses: actions/checkout@v2 + # - name: Check line endings + # run: scripts-dev/check_line_terminators.sh + + # lint-newsfile: + # if: ${{ github.base_ref == 'develop' || contains(github.base_ref, 'release-') }} + # runs-on: ubuntu-latest + # steps: + # - uses: actions/checkout@v2 + # with: + # ref: ${{ github.event.pull_request.head.sha }} + # fetch-depth: 0 + # - uses: actions/setup-python@v2 + # - run: "pip install 'towncrier>=18.6.0rc1'" + # - run: scripts-dev/check-newsfragment.sh + # env: + # PULL_REQUEST_NUMBER: ${{ github.event.number }} + + # lint-pydantic: + # runs-on: ubuntu-latest + # steps: + # - uses: actions/checkout@v2 + # with: + # ref: ${{ github.event.pull_request.head.sha }} + # fetch-depth: 0 + # - uses: matrix-org/setup-python-poetry@v1 + # with: + # extras: "all" + # - run: poetry run scripts-dev/check_pydantic_models.py + + # lint-clippy: + # runs-on: ubuntu-latest + # needs: changes + # if: ${{ needs.changes.outputs.rust == 'true' }} + + # steps: + # - uses: actions/checkout@v2 + + # - name: Install Rust + # uses: actions-rs/toolchain@v1 + # with: + # toolchain: 1.61.0 + # override: true + # components: clippy + # - uses: Swatinem/rust-cache@v2 + + # - run: cargo clippy + + # lint-rustfmt: + # runs-on: ubuntu-latest + # needs: changes + # if: ${{ needs.changes.outputs.rust == 'true' }} + + # steps: + # - uses: actions/checkout@v2 + + # - name: Install Rust + # uses: actions-rs/toolchain@v1 + # with: + # toolchain: 1.61.0 + # override: true + # components: rustfmt + # - uses: Swatinem/rust-cache@v2 + + # - run: cargo fmt --check # Dummy step to gate other tests on without repeating the whole list linting-done: if: ${{ !cancelled() }} # Run this even if prior jobs were skipped - needs: - - lint - - lint-crlf - - lint-newsfile - - lint-pydantic - - check-sampleconfig - - check-schema-delta - - lint-clippy - - lint-rustfmt + # needs: + # - lint + # - lint-crlf + # - lint-newsfile + # - lint-pydantic + # - check-sampleconfig + # - check-schema-delta + # - lint-clippy + # - lint-rustfmt runs-on: ubuntu-latest steps: - run: "true" |