Skip to content

Update sbt-native-packager to 1.10.4 #205

Update sbt-native-packager to 1.10.4

Update sbt-native-packager to 1.10.4 #205

Workflow file for this run

name: CI
on:
pull_request:
branches:
- master
tags-ignore:
- '*'
push:
branches:
- master
tags-ignore:
- '*'
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup GraalVM
uses: olafurpg/setup-scala@v10
with:
java-version: [email protected]
- name: Install native-image
run: gu install native-image
- name: Print versions
run: |
java -version
native-image --version
- name: Formatting check
run: sbt fmt-check
- name: Run tests
run: sbt run-tests
- name: SonarCloud Reporting
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
sbt -Dsonar.host.url=https://sonarcloud.io \
-Dsonar.projectKey=eli-jordan_alfred-jenkins \
-Dsonar.organization=eli-jordan \
-Dsonar.junit.reportPaths=./workflow/target/test-reports/*.xml \
workflow/sonarScan
- name: Publish coverage results
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./workflow/target/scala-2.13/scoverage-report/scoverage.xml
fail_ci_if_error: true
- name: Package
run: sbt run-package
- name: Save the workflow as an artifact
uses: actions/upload-artifact@v1
with:
name: Jenkins.alfredworkflow
path: workflow/target/alfred/Jenkins.alfredworkflow