Skip to content

Remove unnecessary allocation from return_ #91

Remove unnecessary allocation from return_

Remove unnecessary allocation from return_ #91

Workflow file for this run

name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Ruby
run: sudo apt-get install -y ruby
- name: Setup | Rust
uses: ATiltedTree/setup-rust@v1
with:
rust-version: stable
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Install Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.2.2"
- name: Setup Rust
uses: ATiltedTree/setup-rust@v1
with:
rust-version: stable
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose