Skip to content

Commit

Permalink
Update ci.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
kyri-petrou committed Nov 28, 2024
1 parent e49fa51 commit 20cf4b4
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 668 deletions.
41 changes: 27 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,15 @@ jobs:
fail-fast: false
steps:
- name: Checkout current branch
uses: actions/checkout@v2.3.4
uses: actions/checkout@4.2.2
with:
fetch-depth: 0
- name: Setup Scala and Java
uses: olafurpg/setup-scala@v13
uses: actions/[email protected]
with:
distribution: temurin
java-version: 11
check-latest: true
- name: Cache scala dependencies
uses: coursier/cache-action@v6
- name: Lint code
Expand All @@ -32,19 +36,22 @@ jobs:
strategy:
fail-fast: false
matrix:
java: ['temurin:17', 'temurin:21']
scala: ['3.3.1', '2.13.12', '2.12.19']
java: ['11', '21']
scala: ['3.3.4', '2.13.15', '2.12.20']
env:
AWS_ACCESS_KEY_ID: dummykey
AWS_SECRET_ACCESS_KEY: dummykey
AWS_REGION: us-east-1
steps:
- uses: actions/checkout@v3.0.0
- uses: actions/checkout@4.2.2
with:
fetch-depth: 0
- uses: coursier/setup-action@v1
- name: Setup Scala and Java
uses: actions/[email protected]
with:
jvm: ${{ matrix.java }}
distribution: temurin
java-version: ${{ matrix.java }}
check-latest: true
- name: Cache scala dependencies
uses: coursier/cache-action@v6
- name: Run tests
Expand All @@ -57,22 +64,23 @@ jobs:
mdoc:
runs-on: ubuntu-20.04
timeout-minutes: 30
if: github.event_name != 'pull_request'
steps:
- name: Checkout current branch
uses: actions/[email protected]
uses: actions/[email protected]
with:
fetch-depth: 0
- name: Setup Scala and Java
uses: actions/setup-java@v3.9.0
uses: actions/setup-java@4.5.0
with:
distribution: temurin
java-version: 17
java-version: 11
check-latest: true
- name: Setup GPG
uses: olafurpg/setup-gpg@v3
- name: Cache scala dependencies
uses: coursier/cache-action@v6
- name: Check Document Generation
run: ./sbt docs/compileDocs
run: sbt -J-XX:+UseG1GC -J-Xmx6g -J-Xms6g -J-Xss16m docs/compileDocs

ci:
runs-on: ubuntu-20.04
Expand All @@ -87,10 +95,15 @@ jobs:
needs: [ci]
if: github.event_name != 'pull_request'
steps:
- uses: actions/checkout@v3.0.0
- uses: actions/checkout@4.2.2
with:
fetch-depth: 0
- uses: olafurpg/setup-scala@v13
- name: Setup Scala and Java
uses: actions/[email protected]
with:
distribution: temurin
java-version: 11
check-latest: true
- run: sbt -J-XX:+UseG1GC -J-Xmx6g -J-Xms6g -J-Xss16m ci-release
env:
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
Expand Down
Loading

0 comments on commit 20cf4b4

Please sign in to comment.