Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/gh-actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: gh-actions
run-name: ${{ github.actor }} triggered a Github Action
on: [push]
jobs:
sanity-checks:
env:
MC_TOKEN_USER: ${{ secrets.MAVEN_CENTRAL_TOKEN_USER }}
MC_TOKEN_PASS: ${{ secrets.MAVEN_CENTRAL_TOKEN_PASSWORD }}
SBT_VERSION: 1.11.4
SBT_OPTS: "-Xms512M -Xmx1536M -Xss1M"

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup JDK
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 11
- name: Setup sbt launcher
uses: sbt/setup-sbt@v1
- name: Cache SBT
uses: actions/cache@v4
with:
path: |
~/.ivy2/cache
~/.sbt
key: ${{ runner.os }}-sbt-${{ hashFiles('**/build.sbt') }}
- name: Organisation secrets
run: |
echo "MAVEN_CENTRAL_TOKEN_USER starts with ${MC_TOKEN_USER:0:1} and is ${#MC_TOKEN_USER} long"
echo "MAVEN_CENTRAL_TOKEN_PASSWORD starts with ${MC_TOKEN_PASS:0:1} and is ${#MC_TOKEN_PASS} long"
- name: Perform the tests
run: sbt clean test:compile scripted