Skip to content

add update mirror ci #1

add update mirror ci

add update mirror ci #1

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
strategy:
matrix:
rust-version:
- "stable"
- "beta"
- "nightly"
- "1.44.0"
api-version:
- "v4_3"
- "v4_4"
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: Install Rust ${{ matrix.rust-version }}
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust-version }}
override: true
components: rustfmt, clippy
- name: Build
uses: actions-rs/cargo@v1
with:
command: build
args: --features ${{ matrix.api-version }}
- name: Test
uses: actions-rs/cargo@v1
with:
command: test
args: --features ${{ matrix.api-version }}