Skip to content

Commit

Permalink
Merge pull request #28 from subhamkrai/build
Browse files Browse the repository at this point in the history
ci: add ci test to run make build
  • Loading branch information
Madhu-1 authored Jul 2, 2024
2 parents dd411d5 + eb2174b commit d5774c1
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: build
on:
pull_request:
branches:
- main
- release-*

# cancel the in-progress workflow when PR is refreshed.
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
cancel-in-progress: true

permissions:
contents: read

jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: run make build
run: make build

0 comments on commit d5774c1

Please sign in to comment.