From 284015b48447c8cc4f6080d6a119fc74dfaa3a68 Mon Sep 17 00:00:00 2001 From: Nikita Ronja Date: Tue, 25 Jun 2024 11:51:17 +0200 Subject: [PATCH] ci bench --- .github/workflows/gocheck-bench.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/gocheck-bench.yml diff --git a/.github/workflows/gocheck-bench.yml b/.github/workflows/gocheck-bench.yml new file mode 100644 index 0000000..b5070ac --- /dev/null +++ b/.github/workflows/gocheck-bench.yml @@ -0,0 +1,25 @@ +# This workflow will build a golang project +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go + +name: gocheck-bench + +on: + push: + branches: [ "default" ] + pull_request: + branches: [ "default" ] + +jobs: + + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: '1.22' + + - name: Test pkg + run: cd pkg && go test -bench=. \ No newline at end of file