Add ci #14
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: build-go-projects | |
on: | |
merge_group: | |
push: | |
branches: [main] | |
pull_request: | |
branches: ["*"] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '1.22' | |
cache: false | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Build aggregator | |
run: go build aggregator/cmd/main.go | |
- name: Build operator | |
run: go build operator/cmd/main.go | |
- name: Build task sender | |
run: go build task_sender/cmd/main.go |