Trying to optimize logs JS code #161
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run tests | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
check-rust-compat: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
rust_version: ["1.72", "1.73", "1.74"] | |
steps: | |
- name: rustup toolchain install ${{ matrix.rust_version }} | |
run: | | |
rustup toolchain install ${{ matrix.rust_version }} | |
- uses: actions/checkout@v2 | |
- run: rustup override set ${{ matrix.rust_version }} | |
- name: cargo check | |
run: cargo check | |
test: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: Swatinem/rust-cache@v1 | |
- name: Run tests | |
run: cargo test |