Skip to content

Commit

Permalink
use a build matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
elahrvivaz committed Nov 11, 2024
1 parent f87dc09 commit db86705
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 23 deletions.
19 changes: 0 additions & 19 deletions .github/workflows/build-and-test-2.13.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: scala-2.12
name: scala-build

on:
push:
Expand All @@ -13,7 +13,10 @@ permissions: # added using https://github.com/step-security/secure-repo
contents: read

jobs:
build:
build-scala:
strategy:
matrix:
version: [ "2.12", "2.13" ]
uses: ./.github/workflows/build-and-test.yml
with:
scala-version: "2.12"
scala-version: ${{ matrix.version }}
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ env:
MAVEN_CLI_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dlicense.skip=true --batch-mode

jobs:
build-scala:
compile:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
Expand Down

0 comments on commit db86705

Please sign in to comment.