Skip to content

trigger workflows when they are modified #16

trigger workflows when they are modified

trigger workflows when they are modified #16

Workflow file for this run

name: Build
on:
push:
branches:
- main
paths:
- '**.go'
- 'go.mod'
- 'go.sum'
- '.github/workflows/build.yml'
pull_request:
branches:
- main
paths:
- '**.go'
- 'go.mod'
- 'go.sum'
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: ^1.19
- name: Compile code
run: make