Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
antognini committed Jun 22, 2023
1 parent 58b7b3e commit 7251195
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Build

on:
pull_request:
branches: [ main ]
push:
branches: [ main ]
tags: [ v* ]

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

permissions:
contents: read

concurrency:
group: 'build'
cancel-in-progress: false

jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout current branch
uses: actions/checkout@v3

- name: Setup Java
uses: actions/setup-java@v3
with:
java-version: 11
distribution: 'adopt'

- name: Cache SBT
uses: actions/cache@v3
with:
path: |
~/.sbt
~/.ivy2/cache
~/.coursier/cache
~/.cache/coursier
key: sbt-${{ runner.os }}-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }}

- name: Build project
run: sbt --client 'test'

0 comments on commit 7251195

Please sign in to comment.