From 2b5c3f9f940e68284500fd91346f6635cd778ffc Mon Sep 17 00:00:00 2001 From: Alexey Lisov Date: Fri, 22 Aug 2025 19:26:10 +0300 Subject: [PATCH 1/2] some --- .github/workflows/ci.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..54f441bc --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,37 @@ +name: CI + +on: + push: + pull_request: + +jobs: + build: + name: Build project + runs-on: ubuntu-latest + defaults: + run: + working-directory: ./src + steps: + - uses: actions/checkout@v4 + + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: "1.24" + + - name: Build + run: go build ./... + + test: + name: Run tests + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: "1.24" + + - name: Run tests + run: go test ./... From e10c845eb08625518e48f0612264562010d16dd5 Mon Sep 17 00:00:00 2001 From: Alexey Lisov Date: Fri, 22 Aug 2025 19:27:04 +0300 Subject: [PATCH 2/2] some --- .github/workflows/ci.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 54f441bc..dd9642dc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,7 +2,6 @@ name: CI on: push: - pull_request: jobs: build: