Skip to content

refactor: Optimize batch shuffling implementation for better performance #591

refactor: Optimize batch shuffling implementation for better performance

refactor: Optimize batch shuffling implementation for better performance #591

Workflow file for this run

name: Check code
on:
pull_request:
branches: [ "main" ]
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Rust Cache
uses: actions/cache@v3
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-rust-release-v6-${{ hashFiles('Cargo.lock') }}
restore-keys: |
${{ runner.os }}-rust-release-v6
${{ runner.os }}-rust-release
- name: Run checks
run: .github/workflows/check.sh
- uses: dprint/[email protected]
build-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Rust Cache
uses: actions/cache@v3
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-rust-release-v5-${{ hashFiles('Cargo.lock') }}
restore-keys: |
${{ runner.os }}-rust-release-v5
${{ runner.os }}-rust-release
- name: Run checks
run: .github/workflows/check.sh
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Rust Cache
uses: actions/cache@v3
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-rust-release-v5-${{ hashFiles('Cargo.lock') }}
restore-keys: |
${{ runner.os }}-rust-release-v5
${{ runner.os }}-rust-release
- name: install wget
shell: bash
run: choco install wget
- name: Run checks
shell: bash
run: .github/workflows/check.sh