Skip to content

Reimplement script commands against hive script #120

Reimplement script commands against hive script

Reimplement script commands against hive script #120

Workflow file for this run

name: pr
on:
pull_request:
branches:
- main
env:
GO_VERSION: 1.23
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v2
with:
go-version: ${{ env.GO_VERSION }}
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: test
run: |
echo '```' > results.comment
echo "$ make test" >> results.comment
make test 2>&1 | tee test.out
cat test.out | tail -20 >> results.comment
echo "-----" >> results.comment
- name: test-race
run: |
make test-race
- name: bench
run: |
echo "$ make bench" >> results.comment
make bench 2>&1 | tee bench.out
cat bench.out >> results.comment
echo '```' >> results.comment
- name: results
if: always()
uses: thollander/actions-comment-pull-request@v2
with:
comment_tag: results
filePath: results.comment