Skip to content

build(docker): add a docker compose file to test connection through s… #938

build(docker): add a docker compose file to test connection through s…

build(docker): add a docker compose file to test connection through s… #938

Workflow file for this run

name: Run Tests
on: [push, pull_request]
jobs:
test:
name: Test
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
goVer: ["1.22"]
# Defines the platform for each test run.
runs-on: ${{ matrix.os }}
steps:
# Checks out our code locally so we can work with the files.
- name: Checkout code
uses: actions/checkout@v4
# The steps that will be run through for each version and platform combination.
- name: Set up Go ${{ matrix.goVer }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.goVer }}
cache: true
# Runs go test ./...
- name: Test
run: go test -v -short ./...
lint:
runs-on: ubuntu-latest
steps:
# Checks out our code locally so we can work with the files.
- name: Checkout code
uses: actions/checkout@v4
# Installs go using a single version.
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: "1.22"
cache: false
- name: Run linters
uses: golangci/golangci-lint-action@v4
with:
version: v1.54