diff --git a/.github/workflows/rust.yaml b/.github/workflows/rust.yaml index 612dd8c..8a14a33 100644 --- a/.github/workflows/rust.yaml +++ b/.github/workflows/rust.yaml @@ -2,13 +2,31 @@ name: Rust on: [push] +# - name: Prepare - macOS +# if: matrix.os == 'macos-latest' +# run: | +# curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y +# - name: Update +# run: rustup update stable + jobs: build: - runs-on: ubuntu-latest + strategy: + matrix: + os: + - macos-latest + - ubuntu-latest + - windows-latest + runs-on: ${{matrix.os}} steps: - uses: actions/checkout@v1 - - name: Update - run: rustup update stable + - name: Install + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + profile: minimal + components: clippy + override: true - name: Version run: | rustup --version