script: Fix comparison of non-ordered columns #145
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
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 | |