From 96efdd389930494751341c43e63dbb9b6a1d4e99 Mon Sep 17 00:00:00 2001 From: Jacob Gadikian Date: Sun, 21 Jan 2024 15:38:25 +0000 Subject: [PATCH] Add an explicit build and test job for the icq relayer (#1069) * Create icq-relayer-build-test.yml * Update icq-relayer-build-test.yml * Update icq-relayer-build-test.yml --- .github/workflows/icq-relayer-build-test.yml | 28 ++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/icq-relayer-build-test.yml diff --git a/.github/workflows/icq-relayer-build-test.yml b/.github/workflows/icq-relayer-build-test.yml new file mode 100644 index 000000000..7e8878727 --- /dev/null +++ b/.github/workflows/icq-relayer-build-test.yml @@ -0,0 +1,28 @@ + +on: [push, pull_request] +name: icq-relayer: build and test +jobs: + test: + strategy: + matrix: + go-version: [1.21.x] + os: [ubuntu-latest, macos-latest] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-go@v4 + with: + go-version: ${{ matrix.go-version }} + - run: go test icq-relayer/... + build: + strategy: + matrix: + go-version: [1.21.x] + os: [ubuntu-latest, macos-latest] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-go@v4 + with: + go-version: ${{ matrix.go-version }} + - run: go build icq-relayer/...