Skip to content

Reduce array allocations by usage MemoryStream.GetBuffer() instead of ToArray() #399

Reduce array allocations by usage MemoryStream.GetBuffer() instead of ToArray()

Reduce array allocations by usage MemoryStream.GetBuffer() instead of ToArray() #399

Workflow file for this run

# ------------------------------------------------------------------------------
# <auto-generated>
#
# This code was generated.
#
# - To turn off auto-generation set:
#
# [GitHubActions (AutoGenerate = false)]
#
# - To trigger manual generation invoke:
#
# nuke --generate-configuration GitHubActions_PR --host GitHubActions
#
# </auto-generated>
# ------------------------------------------------------------------------------
name: PR
on: [pull_request]
concurrency:
group: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
windows-latest:
name: windows-latest
runs-on: windows-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- name: 'Run: Clean, Test, Pack'
run: ./build.cmd Clean Test Pack
- name: 'Publish: publish'
uses: actions/upload-artifact@v4
if: runner.os == 'Windows'
with:
name: publish
path: publish
ubuntu-latest:
name: ubuntu-latest
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- name: 'Run: Clean, Test, Pack'
run: ./build.cmd Clean Test Pack
- name: 'Publish: publish'
uses: actions/upload-artifact@v4
if: runner.os == 'Windows'
with:
name: publish
path: publish