cargo-outdated 0.19.0

Cargo subcommand for displaying when dependencies are out of date
name: CI
on:
  push:
    branches: [staging, trying]
jobs:
  ci:
    name: CI
    needs: [test]
    runs-on: ubuntu-latest
    steps:
      - name: Done
        run: exit 0
  test:
    name: Tests
    strategy:
      fail-fast: true
      matrix:
        include:
          # Windows x86_64
          - os: windows-latest
            rust: stable
            target: x86_64-pc-windows-msvc
          - os: windows-latest
            rust: stable
            target: x86_64-pc-windows-gnu

          # macOS x86_64
          - os: macos-15-intel
            rust: stable
            target: x86_64-apple-darwin

          # macOS ARM64 (Apple Silicon)
          - os: macos-latest
            rust: stable
            target: aarch64-apple-darwin

          # Linux x86_64
          - os: ubuntu-latest
            rust: stable
            target: x86_64-unknown-linux-gnu
          - os: ubuntu-latest
            rust: beta
            target: x86_64-unknown-linux-gnu

          # Linux aarch64
          - os: ubuntu-24.04-arm
            rust: stable
            target: aarch64-unknown-linux-gnu
          - os: ubuntu-24.04-arm
            rust: beta
            target: aarch64-unknown-linux-gnu

    runs-on: ${{ matrix.os }}
    steps:
      - name: Install rust
        uses: dtolnay/rust-toolchain@master
        with:
          toolchain: ${{ matrix.rust }}
          targets: ${{ matrix.target }}

      - name: Checkout
        uses: actions/checkout@v5

      - name: Remove rust-toolchain.toml
        # contains nightly & linters/formatters
        shell: bash
        run: rm -f rust-toolchain.toml

      - name: Install Just
        run: cargo install just cargo-nextest

      - name: Install MinGW
        if: matrix.target == 'x86_64-pc-windows-gnu'
        uses: msys2/setup-msys2@v2
        with:
          msystem: MINGW64
          install: mingw-w64-x86_64-gcc
          update: true

      - name: OpenSSL Libs
        if: matrix.os == 'ubuntu-latest'
        run: |
          sudo apt-get update
          sudo apt-get install libssl-dev

      - name: Test
        run: just test