Skip to content

Update sbt, scripted-plugin to 1.10.7 #275

Update sbt, scripted-plugin to 1.10.7

Update sbt, scripted-plugin to 1.10.7 #275

Workflow file for this run

name: Test
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: 'sbt'
- name: Install sbt
run: |
echo "deb https://repo.scala-sbt.org/scalasbt/debian all main" | sudo tee /etc/apt/sources.list.d/sbt.list
echo "deb https://repo.scala-sbt.org/scalasbt/debian /" | sudo tee /etc/apt/sources.list.d/sbt_old.list
curl -sL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x2EE0EA64E40A89B84B2DF73499E82A75642AC823" | sudo apt-key add
sudo apt-get update
sudo apt-get install sbt
- name: Run tests and create coverage report
run: sbt clean coverage test assembly coverageReport
- name: Upload coverage report
uses: actions/upload-artifact@v4
with:
name: scoverage-report
path: target/scala-*/scoverage-report/