From 3e7c5f5f9c1c4b51428e5f172b4a80576c444deb Mon Sep 17 00:00:00 2001 From: Marco Maurer Date: Sat, 16 Dec 2023 10:41:17 +0100 Subject: [PATCH] feat: Test updater library --- .github/workflows/updater.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/updater.yml diff --git a/.github/workflows/updater.yml b/.github/workflows/updater.yml new file mode 100644 index 000000000..518efe8aa --- /dev/null +++ b/.github/workflows/updater.yml @@ -0,0 +1,24 @@ +name: updater +on: + pull_request: + paths: + - 'updater/**' + +jobs: + build: + name: Test updater library + runs-on: ubuntu-22.04 + steps: + - name: Check out code + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + + - name: Set up Go 1.19 + uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 + with: + go-version: 1.19.x + id: go + + - name: Build image + run: | + docker-compose -f backend/docker-compose.test.yaml up -d postgres + go test -v