From 0a5ba074abbfa5f2e2a7b0dfd2f52ec96df2fc55 Mon Sep 17 00:00:00 2001 From: Dan Moore Date: Tue, 2 Jul 2024 13:22:19 -0600 Subject: [PATCH] Builds and tests the golang client library --- .github/workflows/build.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/build.yaml diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..5d2d6f4 --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,23 @@ +# This is a starting workflow for building with GitHub Actions +name: Build + +on: + push: + pull_request: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + # Check out code + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 + + # Compile + - name: Test that we can compile + run: cd pkg/fusionauth && go build + # Compile + - name: Run tests + run: cd pkg/fusionauth && go test + # Done!