Skip to content

[tool]添加文件读取和相关格式化以及输出csv文件的功能封装 #24

[tool]添加文件读取和相关格式化以及输出csv文件的功能封装

[tool]添加文件读取和相关格式化以及输出csv文件的功能封装 #24

Workflow file for this run

name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
name: Build
runs-on: macos-latest
steps:
# 详见 https://github.com/marketplace/actions/rust-toolchain#example-workflow
- uses: actions/checkout@v2
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: rustfmt, clippy
- name: Build
uses: actions-rs/cargo@v1
with:
command: build
args: --no-default-features --workspace --exclude vsock-node --exclude study-practice
test:
name: Test
runs-on: macos-latest
steps:
# 详见 https://github.com/marketplace/actions/rust-toolchain#example-workflow
- uses: actions/checkout@v2
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: rustfmt, clippy
- name: Runtests
uses: actions-rs/cargo@v1
with:
command: test
args: --no-default-features --workspace --exclude vsock-node --exclude study-practice