Skip to content

Bump url from 2.5.3 to 2.5.4 #151

Bump url from 2.5.3 to 2.5.4

Bump url from 2.5.3 to 2.5.4 #151

Workflow file for this run

name: Unit Tests
on:
workflow_dispatch:
push:
branches:
- main
paths:
- "qlty-*/**"
- "Cargo.*"
- ".github/workflows/cli.yml"
pull_request:
paths:
- "qlty-*/**"
- "Cargo.*"
- ".github/workflows/cli.yml"
permissions:
actions: write
contents: read
id-token: write
env:
CARGO_TERM_COLOR: always
jobs:
test:
strategy:
fail-fast: false
matrix:
os:
[ubuntu-latest-16-cores, macos-latest-xlarge, windows-latest-16-cores]
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.os }}
cancel-in-progress: true
steps:
- run: git config --global core.autocrlf false
- name: Checkout qlty
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: Setup PHP with PECL extension
uses: shivammathur/setup-php@v2
if: matrix.os == 'macos-latest-xlarge'
- name: Cache Rust
uses: Swatinem/rust-cache@v2
- name: Run Test
run: cargo llvm-cov --lcov --output-path target/lcov.info -- --include-ignored
- uses: qltysh/qlty-action/coverage@main
env:
QLTY_COVERAGE_TOKEN: ${{ secrets.QLTY_COVERAGE_TOKEN }}
if: ${{ env.QLTY_COVERAGE_TOKEN != '' }}
with:
coverage-token: ${{ secrets.QLTY_COVERAGE_TOKEN }}
files: target/lcov.info
tag: cli
skip-errors: true