Skip to content

Merge pull request #70 from MrNavaStar/patch-1 #252

Merge pull request #70 from MrNavaStar/patch-1

Merge pull request #70 from MrNavaStar/patch-1 #252

Workflow file for this run

on:
push:
pull_request:
name: Clippy and build
jobs:
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: rustup toolchain install stable
- uses: Swatinem/rust-cache@v2
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- run: rustup toolchain install stable
- uses: Swatinem/rust-cache@v2
- run: cargo build --release
- uses: actions/upload-artifact@v3
with:
name: mcman-${{ matrix.os }}
path: |
target/release/mcman*
!target/release/mcman.d