rpawomaster 0.2.0

A secure password manager written in Rust
Documentation
name: Rust CI

on:
  push:
    branches: [ "main" ]
  pull_request:
    branches: [ "main" ]

env:
  CARGO_TERM_COLOR: always

jobs:
  test:

    strategy:
      matrix:
        os: [ubuntu-latest, windows-latest, macos-latest]

    runs-on: ${{ matrix.os }}

    steps:
    - uses: actions/checkout@v4
    
    # 在Windows上需要安装指定工具链
    - name: Install Rust (Windows)
      if: matrix.os == 'windows-latest'
      run: |

        rustup default stable
        rustup target add x86_64-pc-windows-msvc
        
    - name: Build
      run: cargo build --verbose
      
    - name: Run tests
      run: cargo test --verbose