Skip to content

Commit

Permalink
Merge pull request #1 from vaibhavahuja/build-pr-test
Browse files Browse the repository at this point in the history
Build pipeline on commit or pr to main
  • Loading branch information
vaibhavahuja authored Sep 11, 2024
2 parents dd7c88e + 5e6ec0b commit e8a63c8
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go

name: Go

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.22
# - name: Install Docker CLI Plugins
# run: |
# sudo apt-get update
# sudo apt-get install docker-compose

- name: Build
run: go build -v ./...

0 comments on commit e8a63c8

Please sign in to comment.