From 7d95316bc6407b20e0d36f7a2d48cfa29d65bf40 Mon Sep 17 00:00:00 2001 From: arsam Date: Fri, 18 Sep 2026 23:18:49 +0330 Subject: [PATCH] Import deployment configuration: .github/workflows/go.yml Import the existing local project snapshot. This commit organizes existing files; it does not represent newly developed functionality. --- .github/workflows/go.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/go.yml diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml new file mode 100644 index 0000000..ce664bb --- /dev/null +++ b/.github/workflows/go.yml @@ -0,0 +1,32 @@ +name: reactor-crw + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + + build: + strategy: + matrix: + go-version: [1.16.x, 1.17.x] + os: [ubuntu-latest, macos-latest, windows-latest] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v2 + + - name: Set up Go + uses: actions/setup-go@v2 + with: + go-version: ${{ matrix.go-version }} + + - name: Test + run: go test -v ./... --tags unit + + - name: Build + env: + CGO_ENABLED: 0 + BINARY_NAME: reactor-crw + run: go build -o "$BINARY_NAME-$RUNNER_OS" cmd/main.go