You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by nv...@apache.org on 2023/02/28 09:59:27 UTC
[incubator-pekko-persistence-cassandra] branch main updated: Updates github actions (#18)
This is an automated email from the ASF dual-hosted git repository.
nvollmar pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-pekko-persistence-cassandra.git
The following commit(s) were added to refs/heads/main by this push:
new b0462cc Updates github actions (#18)
b0462cc is described below
commit b0462cc3e95c28e231d3ca84c3773a2cbfca7f45
Author: Nicolas Vollmar <nv...@gmail.com>
AuthorDate: Tue Feb 28 10:59:20 2023 +0100
Updates github actions (#18)
---
.github/workflows/check-build-test.yml | 43 ++++++++++++++++++----------------
.github/workflows/publish.yml | 11 ++++-----
.github/workflows/release-drafter.yml | 2 +-
3 files changed, 29 insertions(+), 27 deletions(-)
diff --git a/.github/workflows/check-build-test.yml b/.github/workflows/check-build-test.yml
index 5768962..fb98ae1 100644
--- a/.github/workflows/check-build-test.yml
+++ b/.github/workflows/check-build-test.yml
@@ -19,7 +19,7 @@ jobs:
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with: # https://github.com/olafurpg/setup-scala#faster-checkout-of-big-repos
fetch-depth: 0
@@ -27,13 +27,14 @@ jobs:
#- name: Fetch tags
# run: git fetch --depth=100 origin +refs/tags/*:refs/tags/*
- - name: Set up JDK 11
- uses: coursier/setup-action@v1.1.2
+ - name: Setup Java 11
+ uses: actions/setup-java@v3
with:
- jvm: adopt:11
+ distribution: temurin
+ java-version: 11
- name: Cache Coursier cache
- uses: coursier/cache-action@v6.3
+ uses: coursier/cache-action@v6.4.0
- name: Compilation and binary-compatibility check
run: sbt "verifyCodeStyle; +Test/compile" # todo: add mimaReportBinaryIssues
@@ -48,7 +49,7 @@ jobs:
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with: # https://github.com/olafurpg/setup-scala#faster-checkout-of-big-repos
fetch-depth: 100
@@ -56,13 +57,14 @@ jobs:
#- name: Fetch tags
# run: git fetch --depth=100 origin +refs/tags/*:refs/tags/*
- - name: Set up JDK 11
- uses: coursier/setup-action@v1.1.2
+ - name: Setup Java 11
+ uses: actions/setup-java@v3
with:
- jvm: adopt:11
+ distribution: temurin
+ java-version: 11
- name: Cache Coursier cache
- uses: coursier/cache-action@v6.3
+ uses: coursier/cache-action@v6.4.0
- name: "Create all API docs and create site with Paradox"
run: sbt "unidoc; docs/makeSite"
@@ -80,18 +82,18 @@ jobs:
fail-fast: false
matrix:
include:
- - { jdk: 'adopt:8', container: "cassandra-latest", scalaVersion: "++2.13.10", test: "test" }
- - { jdk: 'adopt:11', container: "cassandra-latest", scalaVersion: "++2.12.17", test: "test" }
- - { jdk: 'adopt:11', container: "cassandra-latest", scalaVersion: "++2.13.10", test: "test" }
- - { jdk: 'adopt:11', container: "cassandra2", scalaVersion: "++2.13.10", test: "'testOnly -- -l RequiresCassandraThree'"}
- - { jdk: 'adopt:11', container: "cassandra3", scalaVersion: "++2.13.10", test: "test" }
+ - { jdk: '8', container: "cassandra-latest", scalaVersion: "++2.13.10", test: "test" }
+ - { jdk: '11', container: "cassandra-latest", scalaVersion: "++2.12.17", test: "test" }
+ - { jdk: '11', container: "cassandra-latest", scalaVersion: "++2.13.10", test: "test" }
+ - { jdk: '11', container: "cassandra2", scalaVersion: "++2.13.10", test: "'testOnly -- -l RequiresCassandraThree'"}
+ - { jdk: '11', container: "cassandra3", scalaVersion: "++2.13.10", test: "test" }
env:
JAVA_OPTS: -Xms2G -Xmx2G -Xss2M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
fetch-depth: 0
@@ -101,13 +103,14 @@ jobs:
git fetch origin pull/${{ github.event.pull_request.number }}/merge:scratch
git checkout scratch
- - name: Set up JDK ${{ matrix.jdk }}
- uses: coursier/setup-action@v1.1.2
+ - name: Setup Java ${{ matrix.jdk }}
+ uses: actions/setup-java@v3
with:
- jvm: ${{ matrix.jdk }}
+ distribution: temurin
+ java-version: ${{ matrix.jdk }}
- name: Cache Coursier cache
- uses: coursier/cache-action@v6.3
+ uses: coursier/cache-action@v6.4.0
- name: Test against ${{ matrix.container }}
run: |-
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 868674d..c74aa67 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -7,8 +7,6 @@ on:
- main
- release-*
tags: ["v*"]
- release:
- types: [published]
jobs:
release:
@@ -21,15 +19,16 @@ jobs:
JAVA_OPTS: -Xms2G -Xmx2G -Xss2M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
# we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves
fetch-depth: 0
- - name: Set up JDK 8
- uses: coursier/setup-action@v1.1.2
+ - name: Setup Java 8
+ uses: actions/setup-java@v3
with:
- jvm: adopt:8
+ distribution: temurin
+ java-version: 8
- name: Publish artifacts for all Scala versions
env:
diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml
index 934c107..94f67f4 100644
--- a/.github/workflows/release-drafter.yml
+++ b/.github/workflows/release-drafter.yml
@@ -9,7 +9,7 @@ on:
jobs:
update_release_draft:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-20.04
steps:
# Drafts your next Release notes as Pull Requests are merged into "master"
- uses: release-drafter/release-drafter@v5
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org