Skip to content

Revert "容器化变更" #659

Revert "容器化变更"

Revert "容器化变更" #659

Workflow file for this run

name: Rust
on: [push]
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
rust: [nightly]
runs-on: ${{ matrix.os }}
steps:
- uses: hecrj/setup-rust-action@v1
with:
rust-version: ${{ matrix.rust }}
- uses: actions/checkout@master
- name: Run tests
run: cargo test --verbose
test-locales:
strategy:
matrix:
locale: [zh, en]
runs-on: ubuntu-latest
steps:
- uses: hecrj/setup-rust-action@v1
with:
rust-version: nightly
- uses: actions/checkout@master
- name: Check locales
env:
LOCALE: ${{ matrix.locale }}
run: cargo check --verbose