Skip to content

Commit

Permalink
ci: add ci test to run make build
Browse files Browse the repository at this point in the history
adding CI test to run make build

Signed-off-by: subhamkrai <[email protected]>
  • Loading branch information
subhamkrai committed Jul 2, 2024
1 parent dd411d5 commit eb2174b
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 eb2174b

Please sign in to comment.