diff options
author | Bryan McNulty <bryan@falconops.com> | 2025-04-24 14:29:39 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-24 14:29:39 -0500 |
commit | 686e6325870b501c9fda2493599a7c11f573521b (patch) | |
tree | 177328a2d20d5451e10d99b3a0a550786c83acd4 | |
parent | 911a2456e7f2098a9b4a9bec3e95b4216ee97c41 (diff) | |
download | goexec-686e6325870b501c9fda2493599a7c11f573521b.tar.gz goexec-686e6325870b501c9fda2493599a7c11f573521b.zip |
Add Go builder workflow
-rw-r--r-- | .github/workflows/go.yml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml new file mode 100644 index 0000000..09a5b81 --- /dev/null +++ b/.github/workflows/go.yml @@ -0,0 +1,28 @@ +# 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@v4 + + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: '1.24' + + - name: Build + run: go build -v ./... + + - name: Test + run: go test -v ./... |