Skip to content

build(deps): bump wasmvm into v1.5.3 #1764

build(deps): bump wasmvm into v1.5.3

build(deps): bump wasmvm into v1.5.3 #1764

Workflow file for this run

name: Benchmarks
# Benchmarks workflow runs benchmark tests and compares the results with the ones present on the master branch.
# This workflow is run on pushes to master & every Pull Requests where a .go, .mod, .sum have been changed
on:
pull_request:
push:
branches:
- master
jobs:
Benchmarks:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Setup Go 🧰
uses: actions/setup-go@v5
with:
go-version: '1.20'
- name: Compute diff 📜
uses: technote-space/get-diff-action@v6.1.2
with:
PATTERNS: |
**/**.go
go.mod
go.sum
- name: Go cache 💾
if: env.GIT_DIFF
uses: actions/cache@v4
with:
path: ~/go/pkg
key: ${{ runner.os }}-go-pkg-${{ hashFiles('**/go.mod') }}
- name: Restore benchstat 🪛
if: env.GIT_DIFF
uses: actions/cache@v4
with:
path: ~/go/bin/benchstat
key: ${{ runner.os }}-benchstat
- name: Restore base benchmark result 📝
if: env.GIT_DIFF
uses: actions/cache@v4
with:
path: |
bench-master.txt
# Using base sha for PR or new commit hash for master/main push in benchmark result key.
key: ${{ runner.os }}-bench-${{ (github.event.pull_request.base.sha != github.event.after) && github.event.pull_request.base.sha || github.event.after }}
- name: Run benchmarks 🧮
if: env.GIT_DIFF
run: REF_NAME=${GITHUB_REF##*/} make benchmark