Skip to content

kafka: Add safeguard timeout for TS #5

kafka: Add safeguard timeout for TS

kafka: Add safeguard timeout for TS #5

# Copyright 2023 Redpanda Data, Inc.
#
# Use of this software is governed by the Business Source License
# included in the file licenses/BSL.md
#
# As of the Change Date specified in that file, in accordance with
# the Business Source License, use of this software will be governed
# by the Apache License, Version 2.0
name: transform-sdk
on:
push:
tags:
- '*'
branches:
- '*'
paths:
- 'src/transform-sdk/**'
- '.github/workflows/transform-sdk-build.yml'
pull_request:
branches:
- dev
- 'v*'
paths:
- 'src/transform-sdk/**'
- '.github/workflows/transform-sdk-build.yml'
jobs:
test:
name: Test golang transform-sdk
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.20.6
- name: Run tests
working-directory: src/transform-sdk/go
run: go test -v ./...
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
args: --timeout 5m
working-directory: src/transform-sdk/go