Skip to content

Commit

Permalink
Merge pull request #26 from hashicorp/build-test
Browse files Browse the repository at this point in the history
IND-2073 Build test workflow added
  • Loading branch information
KaushikiAnand authored Jan 29, 2025
2 parents 2c5b6e9 + 044071b commit 7e11cdf
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Build and Test Workflow

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

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout Code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Setup Go
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a
with:
go-version: '1.23'
- name: Test Go
run: go test -v ./...

build:
runs-on: ubuntu-latest

steps:
- name: Checkout Code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Setup Go
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a
with:
go-version: '1.23'
- name: Build Go
run: go build ./...

0 comments on commit 7e11cdf

Please # to comment.