Skip to content

Commit

Permalink
Updates to GH Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
darkfrog26 committed Apr 17, 2024
1 parent f74c4e3 commit b0e8161
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 16 deletions.
8 changes: 8 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
template: |
## What’s Changed
$CHANGES
categories:
- title: "🔧 Dependency updates"
labels:
- "dependencies"
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: CI
on:
pull_request:
push:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup JDK
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 22
- name: Coursier cache
uses: coursier/cache-action@v6
- name: Build and test
run: |
sbt -v -Dfile.encoding=UTF-8 +test
rm -rf "$HOME/.ivy2/local" || true
find $HOME/Library/Caches/Coursier/v1 -name "ivydata-*.properties" -delete || true
find $HOME/.ivy2/cache -name "ivydata-*.properties" -delete || true
find $HOME/.cache/coursier/v1 -name "ivydata-*.properties" -delete || true
find $HOME/.sbt -name "*.lock" -delete || true
- name: Run codacy-coverage-reporter
uses: codacy/codacy-coverage-reporter-action@v1
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: target/scala-2.13/coverage-report/cobertura.xml
14 changes: 14 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Release Drafter

on:
push:
branches:
- master

jobs:
update_release_draft:
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
14 changes: 0 additions & 14 deletions .github/workflows/run-tests.yml

This file was deleted.

5 changes: 3 additions & 2 deletions .github/workflows/scala-steward.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# This workflow will launch at 00:00 every Sunday
# This workflow will launch at 00:00 every day
name: Scala Steward
on:
schedule:
- cron: '0 0 * * 0'
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
scala-steward:
Expand Down

0 comments on commit b0e8161

Please sign in to comment.