Skip to content

update deps

update deps #36

Workflow file for this run

name: windows
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
strategy:
fail-fast: false
runs-on: "windows-latest"
steps:
- uses: actions/checkout@v1
- name: "Install Rust"
uses: actions-rs/toolchain@v1
with:
profile: "minimal"
toolchain: "stable"
override: true
components: "rustfmt"
target: "x86_64-pc-windows-msvc"
- name: "Cache cargo registry"
uses: actions/cache@v1
with:
path: "~/.cargo/registry"
key: "windows-x86_64-pc-windows-msvc-${{ hashFiles('Cargo.toml') }}-cargo-registry"
- name: "Cache cargo index"
uses: actions/cache@v1
with:
path: "~/.cargo/git"
key: "windows-x86_64-pc-windows-msvc-${{ hashFiles('Cargo.toml') }}-cargo-index"
- name: "Cache cargo build"
uses: actions/cache@v1
with:
path: "target"
key: "windows-x86_64-pc-windows-msvc-${{ hashFiles('Cargo.toml') }}-cargo-build-target"
- name: Check formatting
run: cargo fmt --all -- --check
- name: Build
run: cargo build --all --release
- name: Test
run: cargo test --all
- name: Move Windows Package
shell: bash
run: |
mkdir pkg_
mv target/release/*.exe pkg_
- uses: actions/upload-artifact@master
with:
name: windows
path: pkg_