Skip to content

Commit

Permalink
Merge pull request #134 from szeiger/wip/github-actions
Browse files Browse the repository at this point in the history
Set up github actions PR validation
  • Loading branch information
szeiger authored Oct 25, 2021
2 parents 02af3e6 + 6cc064b commit cbce3f0
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/pr-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Pull Request Validation

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest
strategy:
fail-fast: false

steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
- name: Run mill tests
run: ./mill __.test
- name: Compile with sbt
run: sbt compile bench/compile bench/jmh:compile
- name: Run sbt tests
run: sbt test

0 comments on commit cbce3f0

Please sign in to comment.