Skip to content

Commit

Permalink
add Actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
barend-xebia committed Jun 28, 2024
1 parent 8047880 commit 15ae9b5
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
name: Build

on:
pull_request:
branches:
- '**'
push:
branches:
- '**'
tags:
- 'v*'

permissions:
contents: read

jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- uses: coursier/cache-action@v6
- uses: coursier/setup-action@v1
with:
jvm: temurin:21
apps: sbt
- name: Execute tests
shell: bash
run: |
sbt +test
27 changes: 27 additions & 0 deletions .github/workflows/deps.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: Dependency Submission

on:
push:
branches:
- 'main'

permissions:
contents: write

jobs:
build:
name: Submit Dependencies
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: coursier/cache-action@v6
- uses: coursier/setup-action@v1
with:
jvm: temurin:21
apps: sbt
- uses: scalacenter/sbt-dependency-submission@v2
with:
configs-ignore: >
scala-tool
compile-internal
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Spot: Spark-OpenTelemetry
[![Build](https://github.com/godatadriven/spot/actions/workflows/ci.yml/badge.svg)](https://github.com/godatadriven/spot/actions/workflows/ci.yml)

This package connects [Apache Spark™][sp-home] to [OpenTelemetry][ot-home].

Expand Down

0 comments on commit 15ae9b5

Please sign in to comment.