From eeff48fa50e8572dc960644ba3155fe5ca4a224f Mon Sep 17 00:00:00 2001 From: Jack Baldry Date: Wed, 26 Jun 2024 12:07:38 +0100 Subject: [PATCH] Add CI workflow Signed-off-by: Jack Baldry --- .github/workflows/ci.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..cdb57d4 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,16 @@ +name: Run Continuous Integration +on: + pull_request: +jobs: + go-test: + if: github.repository == 'grafana/killercoda' + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + path: killercoda + - uses: actions/setup-go@v5 + with: + go-version-file: killercoda/tools/transformer/go.mod + - run: go test ./... + working-directory: killercoda/tools/transformer