add perf counter (#12) #39
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# --------------------------------------------------------- | |
# Copyright 2023 KULeuven | |
# Author: Xiaoling Yi <[email protected]> | |
# --------------------------------------------------------- | |
name: Check format | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
jobs: | |
run: | |
name: Build and Run | |
strategy: | |
matrix: | |
java-version: [17] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout current branch (full) | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: Setup Java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: temurin | |
java-version: ${{ matrix.java-version }} | |
cache: sbt | |
- name: check format | |
run: sbt scalafmtCheck |