[INF-5307] - Update SDK with ingress/mongodb
and ingress-postgres-outbox
Integration Rules
#52
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Based upon: | |
# https://github.com/actions/starter-workflows/blob/main/ci/go.yml | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
go-version: [1.18, 1.19] | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: 'recursive' | |
- name: Set up Go ${{ matrix.go-version }} | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Download Packages | |
run: go get -t -v | |
- name: Format | |
run: if [ "$(gofmt -l . | wc -l)" -gt 0 ]; then exit 1; fi | |
- name: Vet | |
run: go vet | |
- name: Test | |
run: go test -v | |
env: | |
ABLY_ACCOUNT_TOKEN: ${{ secrets.ABLY_ACCOUNT_TOKEN }} | |
ABLY_CONTROL_URL: 'https://staging-control.ably-dev.net/v1' |