Skip to content

minimal kinesis delivery stream configuration #156

minimal kinesis delivery stream configuration

minimal kinesis delivery stream configuration #156

Workflow file for this run

on:
push:
branches:
- master
name: CI
permissions: read-all
env:
GITHUB_TOKEN: ${{ github.token }}
jobs:
test:
## We want to define a strategy for our job
strategy:
## this will contain a matrix of all the combinations
## we wish to test again:
matrix:
go-version: [ 1.22.x ]
platform: [ ubuntu-latest, macos-latest, windows-latest ]
## Defines the platform for each test run
runs-on: ${{ matrix.platform }}
## the steps that will be run through for each version and platform
## combination
steps:
## sets up go based on the version
- name: Install Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version: ${{ matrix.go-version }}
## checks out our code locally, so we can work with the files
- name: Checkout code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
## runs go test ./...
- name: Build
run: go build ./...
## runs go test ./...
- name: Test
run: go test ./... -coverprofile=./cover.out
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@79066c46f8dcdf8d7355f820dbac958c5b4cb9d3 # v4.5.0
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}