Expose a new Slot() method on Block and Attestation to avoid calculat… #3610
Workflow file for this run
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
on: [ push, pull_request ] | |
name: test_and_benchmark | |
jobs: | |
test_and_benchmark: | |
strategy: | |
matrix: | |
go-version: [ "1.22.x" ] | |
platform: [ self-hosted ] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- name: Install Go | |
if: success() | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Run tests | |
run: go test -v -covermode=count ./... | |
- name: Run Benchmarks | |
run: go test -bench=. ./... |