src/tools/rustfmt/.github/workflows/integration.yml YAML 81 lines View on github.com → Search inside
1name: integration2on:3  push:4    branches:5      - main6  pull_request:78jobs:9  integration-tests:10    runs-on: ubuntu-latest11    name: ${{ matrix.integration }}12    strategy:13      # https://help.github.com/en/actions/getting-started-with-github-actions/about-github-actions#usage-limits14      # There's a limit of 60 concurrent jobs across all repos in the rust-lang organization.15      # In order to prevent overusing too much of that 60 limit, we throttle the16      # number of rustfmt jobs that will run concurrently.17      max-parallel: 418      fail-fast: false19      matrix:20        integration: [21          bitflags,22          log,23          mdbook,24          packed_simd,25          rust-semverver,26          tempdir,27          futures-rs,28          rust-clippy,29        ]30        include:31          # Allowed Failures32          # Actions doesn't yet support explicitly marking matrix legs as allowed failures33          # https://github.community/t5/GitHub-Actions/continue-on-error-allow-failure-UI-indication/td-p/3703334          # https://github.community/t5/GitHub-Actions/Why-a-matrix-step-will-be-canceled-if-another-one-failed/td-p/3092035          # Instead, leverage `continue-on-error`36          # https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idstepscontinue-on-error37          #38          # Failing due to breaking changes in rustfmt 2.0 where empty39          # match blocks have trailing commas removed40          # https://github.com/rust-lang/rustfmt/pull/422641          - integration: chalk42            allow-failure: true43          - integration: crater44            allow-failure: true45          - integration: glob46            allow-failure: true47          - integration: stdsimd48            allow-failure: true49          # Using old rustfmt configuration option50          - integration: rand51            allow-failure: true52          # Keep this as an allowed failure as it's fragile to breaking changes of rustc.53          - integration: rust-clippy54            allow-failure: true55          # Using old rustfmt configuration option56          - integration: packed_simd57            allow-failure: true58          # calebcartwright (2019-12-24)59          # Keeping this as an allowed failure since it was flagged as such in the TravisCI config, even though60          # it appears to have been passing for quite some time.61          # Original comment was: temporal build failure due to breaking changes in the nightly compiler62          - integration: rust-semverver63            allow-failure: true6465    steps:66    - name: checkout67      uses: actions/checkout@v46869      # Run build70    - name: install rustup71      run: |72        curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > rustup-init.sh73        sh rustup-init.sh -y --default-toolchain none7475    - name: run integration tests76      env:77        INTEGRATION: ${{ matrix.integration }}78        TARGET: x86_64-unknown-linux-gnu79      run: ./ci/integration.sh80      continue-on-error: ${{ matrix.allow-failure == true }}

Findings

✓ No findings reported for this file.

Get this view in your editor

Same data, no extra tab — call code_get_file + code_get_findings over MCP from Claude/Cursor/Copilot.