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 c7a4429
Show file tree
Hide file tree
Showing 2 changed files with 57 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: Continuous Integration

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

permissions:
contents: read

jobs:
build:
name: Build and Test
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
23 changes: 23 additions & 0 deletions .github/workflows/deps.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
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

0 comments on commit c7a4429

Please sign in to comment.