book: show if a lint is disabled by default (#807) #1040
This file contains 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: Coverage | |
# on: | |
# push: | |
# branches: [main] | |
# pull_request: | |
# permissions: | |
# contents: read | |
# env: | |
# CARGO_TERM_COLOR: always | |
# jobs: | |
# coverage: | |
# name: ${{ matrix.os.name }} / tests | |
# runs-on: ${{ matrix.os.runner }} | |
# strategy: | |
# fail-fast: false | |
# matrix: | |
# os: | |
# - runner: ubuntu-latest | |
# name: ubuntu | |
# - runner: windows-latest | |
# name: windows | |
# steps: | |
# - uses: actions/checkout@v4 | |
# with: | |
# submodules: true | |
# - name: Install stable | |
# uses: dtolnay/rust-toolchain@stable | |
# with: | |
# components: llvm-tools-preview | |
# - uses: taiki-e/install-action@cargo-llvm-cov | |
# - uses: taiki-e/install-action@nextest | |
# - name: cargo generate-lockfile | |
# if: hashFiles('Cargo.lock') == '' | |
# run: cargo generate-lockfile | |
# - name: Install Arma 3 Tools | |
# if: startsWith(matrix.os.runner, 'windows') | |
# uses: arma-actions/arma3-tools@master | |
# with: | |
# toolsUrl: ${{ secrets.ARMA3_TOOLS_URL }} | |
# - name: cargo llvm-cov | |
# run: cargo llvm-cov nextest --locked --all-features --lcov --output-path out.lcov | |
# - name: Upload Coverage to GitHub Artifacts | |
# uses: actions/upload-artifact@v4 | |
# with: | |
# name: ${{ matrix.os.name }}-coverage | |
# path: out.lcov | |
# - name: Upload to codecov.io | |
# uses: codecov/codecov-action@v4 | |
# with: | |
# files: out.lcov | |
# fail_ci_if_error: true | |
# token: ${{ secrets.CODECOV_TOKEN }} |