Skip to content

[DEVOPS-1750] Build and release pipeline for go SDK #3

[DEVOPS-1750] Build and release pipeline for go SDK

[DEVOPS-1750] Build and release pipeline for go SDK #3

Workflow file for this run

on:
push:
branches:
- main
- rc
- hotfix-rc
pull_request:
jobs:
build:

Check failure on line 11 in .github/workflows/build-go.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-go.yaml

Invalid workflow file

The workflow is not valid. .github/workflows/build-go.yaml (Line: 11, Col: 3): The workflow must contain at least one job with no dependencies.
name: Build
needs:
- build_rust
- generate-schemas
runs-on: ubuntu-22.04
steps:
- name: Checkout Repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Setup Go environment
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version: ${{ env.GO_VERSION }}
- name: Cache dependencies
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...