Skip to content

Trigger workflows on push only to main branch #1214

Trigger workflows on push only to main branch

Trigger workflows on push only to main branch #1214

Workflow file for this run

name: CI
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
workflow_dispatch:
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: Set up Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version: "1.23"
check-latest: true
- name: Build
run: make build-all
- name: Unit Tests
run: make unit-test