Skip to content

Commit

Permalink
Merge pull request #101 from kmizu/pr/change-ci
Browse files Browse the repository at this point in the history
Fix CI
  • Loading branch information
kmizu authored Dec 22, 2024
2 parents e1c3a65 + d9af4a5 commit 421a1fe
Showing 1 changed file with 9 additions and 16 deletions.
25 changes: 9 additions & 16 deletions .github/workflows/scala.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,21 @@
name: onion

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

permissions:
contents: read

push:
jobs:
build:

test:
runs-on: ubuntu-latest

steps:
- name: Install sbt
- uses: sbt/setup-sbt@v1
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: sbt/setup-sbt@v1
- name: Checkout
uses: actions/checkout@v4
- name: Setup JDK
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
java-version: '21'
cache: 'sbt'
- name: Tests
run: sbt ++ test
- name: Build and Test
run: sbt -v +test

0 comments on commit 421a1fe

Please sign in to comment.