Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Merge pull request #65 from valentinegb/dependabot/cargo/zip-1.1.2 #97

Merge pull request #65 from valentinegb/dependabot/cargo/zip-1.1.2

Merge pull request #65 from valentinegb/dependabot/cargo/zip-1.1.2 #97

Workflow file for this run

name: Rust CI
on:
push:
branches: ["rewrite"]
pull_request:
branches: ["rewrite"]
env:
CARGO_TERM_COLOR: always
MODIO_API_KEY: ${{ secrets.MODIO_API_KEY }}
jobs:
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-rust_ci-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Build
run: cargo build --release --verbose
- name: Test
run: cargo test --release --verbose
build-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-rust_ci-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Build
run: cargo build --release --verbose
- name: Test
run: cargo test --release --verbose
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-rust_ci-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Build
run: cargo build --release --verbose
- name: Test
run: cargo test --release --verbose