Skip to content

feat(segments): delete functionality for segments #6985

feat(segments): delete functionality for segments

feat(segments): delete functionality for segments #6985

Workflow file for this run

name: Build and Test
# This workflow builds the code and runs the unit tests and integration tests.
#
# If this workflow is executed in the context of a fork, the integration tests are
# skipped and just the unit tests are executed. See the workflow "Trigger
# Integration Tests for Forks" for more details on how the integration tests are
# executed for forks.
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
merge_group: # run if triggered as part of a merge queue
schedule:
# this is checking periodically if there are any breaking API changes
# Every day at 00:00
- cron: '0 0 * * *'
defaults:
run:
shell: bash
jobs:
build_test:
name: Build and Test
permissions:
contents: read
checks: write
runs-on: ubuntu-latest
steps:
- name: ⬇️ Check out code into the Go module directory
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
- name: 🛠️ Set up Go 1.x
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a #v5.2.0
with:
go-version: '~1.23'
- name: 🏗️ Compile
run: make compile
- name: 🧪 Unit test
run: make test testopts="--junitfile test-result-ubuntu-latest-unit.xml"
- name: ⬆️ Upload Test Results
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b #v4.5.0
if: always()
with:
name: Test Results - Unit
path: test-result-*.xml
- name: 🚀 Binary starts
run: go run ./cmd/monaco
upload_event:
name: "Upload Event File"
runs-on: ubuntu-latest
steps:
- name: Upload
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b #v4.5.0
with:
name: event_file
path: ${{ github.event_path }}