Skip to content

Commit

Permalink
chore: repo gardening (#1925)
Browse files Browse the repository at this point in the history
  • Loading branch information
ennru committed Mar 25, 2024
1 parent 1bef808 commit a1ef7e9
Show file tree
Hide file tree
Showing 18 changed files with 156 additions and 132 deletions.
1 change: 1 addition & 0 deletions .fossa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ paths:
exclude:
- benchmarks
- interop-tests
- native-image-tests
- plugin-tester-java
- plugin-tester-scala
5 changes: 0 additions & 5 deletions .github/autolabeler.yml

This file was deleted.

1 change: 0 additions & 1 deletion .github/pr-labeler.yml

This file was deleted.

24 changes: 0 additions & 24 deletions .github/release-drafter.yml

This file was deleted.

21 changes: 21 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes#configuring-automatically-generated-release-notes
changelog:
categories:
- title: 'Client side'
labels:
- 'client'
- title: 'Server side'
labels:
- 'server'
- title: 'Gradle'
labels:
- 'gradle'
- title: 'Maven'
labels:
- 'maven'
- title: 'sbt'
labels:
- 'sbt'
- title: 'Other'
labels:
- "*"
84 changes: 63 additions & 21 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,22 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3.1.0
# https://github.com/actions/checkout/releases
# v4.1.1
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
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: Cache Coursier cache
uses: coursier/cache-action@v6.4.0
# https://github.com/coursier/cache-action/releases
# v6.4.5
uses: coursier/cache-action@1ff273bff02a8787bc9f1877d347948af647956d

- name: Set up JDK 11
uses: coursier/setup-action@v1.3.0
# https://github.com/coursier/setup-action/releases
# v1.3.5
uses: coursier/setup-action@7bde40eee928896f074dbb76d22dd772eed5c65f
with:
jvm: temurin:1.11

Expand All @@ -43,16 +49,22 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3.1.0
# https://github.com/actions/checkout/releases
# v4.1.1
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
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: Cache Coursier cache
uses: coursier/cache-action@v6.4.0
# https://github.com/coursier/cache-action/releases
# v6.4.5
uses: coursier/cache-action@1ff273bff02a8787bc9f1877d347948af647956d

- name: Set up JDK 11
uses: coursier/setup-action@v1.3.0
# https://github.com/coursier/setup-action/releases
# v1.3.5
uses: coursier/setup-action@7bde40eee928896f074dbb76d22dd772eed5c65f
with:
jvm: temurin:1.11

Expand All @@ -72,15 +84,21 @@ jobs:
scalaVersion: [2.13, 3.3]
steps:
- name: Checkout
uses: actions/checkout@v3.1.0
# https://github.com/actions/checkout/releases
# v4.1.1
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
fetch-depth: 0

- name: Cache Coursier cache
uses: coursier/cache-action@v6.4.0
# https://github.com/coursier/cache-action/releases
# v6.4.5
uses: coursier/cache-action@1ff273bff02a8787bc9f1877d347948af647956d

- name: Set up JDK 11
uses: coursier/setup-action@v1.3.0
# https://github.com/coursier/setup-action/releases
# v1.3.5
uses: coursier/setup-action@7bde40eee928896f074dbb76d22dd772eed5c65f
with:
jvm: temurin:1.11.0

Expand All @@ -107,15 +125,21 @@ jobs:
scala-version: 3.3
steps:
- name: Checkout
uses: actions/checkout@v3.1.0
# https://github.com/actions/checkout/releases
# v4.1.1
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
fetch-depth: 0

- name: Cache Coursier cache
uses: coursier/cache-action@v6.4.0
# https://github.com/coursier/cache-action/releases
# v6.4.5
uses: coursier/cache-action@1ff273bff02a8787bc9f1877d347948af647956d

- name: Set up JDK 11
uses: coursier/setup-action@v1.3.0
# https://github.com/coursier/setup-action/releases
# v1.3.5
uses: coursier/setup-action@7bde40eee928896f074dbb76d22dd772eed5c65f
with:
jvm: temurin:1.11

Expand All @@ -129,15 +153,21 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3.1.0
# https://github.com/actions/checkout/releases
# v4.1.1
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
fetch-depth: 0

- name: Cache Coursier cache
uses: coursier/cache-action@v6.4.0
# https://github.com/coursier/cache-action/releases
# v6.4.5
uses: coursier/cache-action@1ff273bff02a8787bc9f1877d347948af647956d

- name: Set up JDK 11
uses: coursier/setup-action@v1.3.0
# https://github.com/coursier/setup-action/releases
# v1.3.5
uses: coursier/setup-action@7bde40eee928896f074dbb76d22dd772eed5c65f
with:
jvm: temurin:1.11

Expand Down Expand Up @@ -184,15 +214,21 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3.1.0
# https://github.com/actions/checkout/releases
# v4.1.1
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
fetch-depth: 0

- name: Cache Coursier cache
uses: coursier/cache-action@v6.4.0
# https://github.com/coursier/cache-action/releases
# v6.4.5
uses: coursier/cache-action@1ff273bff02a8787bc9f1877d347948af647956d

- name: Set up JDK 11
uses: coursier/setup-action@v1.3.0
# https://github.com/coursier/setup-action/releases
# v1.3.5
uses: coursier/setup-action@7bde40eee928896f074dbb76d22dd772eed5c65f
with:
jvm: temurin:1.11

Expand Down Expand Up @@ -229,15 +265,21 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3.1.0
# https://github.com/actions/checkout/releases
# v4.1.1
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
fetch-depth: 0

- name: Cache Coursier cache
uses: coursier/cache-action@v6.4.0
# https://github.com/coursier/cache-action/releases
# v6.4.5
uses: coursier/cache-action@1ff273bff02a8787bc9f1877d347948af647956d

- name: Set up JDK 11
uses: coursier/setup-action@v1.3.0
# https://github.com/coursier/setup-action/releases
# v1.3.5
uses: coursier/setup-action@7bde40eee928896f074dbb76d22dd772eed5c65f
with:
jvm: temurin:1.11

Expand Down
14 changes: 10 additions & 4 deletions .github/workflows/fossa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,25 @@ jobs:
fossa:
name: Fossa
runs-on: ubuntu-22.04
if: github.repository == 'akka/akka-grpc'
if: github.event.repository.fork == false
steps:
- name: Checkout
uses: actions/checkout@v3.1.0
# https://github.com/actions/checkout/releases
# v4.1.1
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
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: Cache Coursier cache
uses: coursier/cache-action@v6.4.0
# https://github.com/coursier/cache-action/releases
# v6.4.5
uses: coursier/cache-action@1ff273bff02a8787bc9f1877d347948af647956d

- name: Set up JDK 17
uses: coursier/setup-action@v1.3.0
# https://github.com/coursier/setup-action/releases
# v1.3.5
uses: coursier/setup-action@7bde40eee928896f074dbb76d22dd772eed5c65f
with:
jvm: temurin:1.17

Expand Down
16 changes: 11 additions & 5 deletions .github/workflows/link-validator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,24 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3.1.0
# https://github.com/actions/checkout/releases
# v4.1.1
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
# fetch everything https://github.com/actions/checkout#fetch-all-history-for-all-tags-and-branches
fetch-depth: 0

- name: Cache Coursier cache
uses: coursier/cache-action@v6.4.0
# https://github.com/coursier/cache-action/releases
# v6.4.5
uses: coursier/cache-action@1ff273bff02a8787bc9f1877d347948af647956d

- name: Set up JDK 11
uses: coursier/setup-action@v1.3.0
- name: Set up JDK 17
# https://github.com/coursier/setup-action/releases
# v1.3.5
uses: coursier/setup-action@7bde40eee928896f074dbb76d22dd772eed5c65f
with:
jvm: temurin:1.11
jvm: temurin:1.17
apps: cs

- name: sbt site
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/native-image-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3.1.0
# https://github.com/actions/checkout/releases
# v4.1.1
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
fetch-depth: 0

Expand All @@ -26,11 +28,13 @@ jobs:
- name: Cache Coursier cache
# https://github.com/coursier/cache-action/releases
uses: coursier/cache-action@v6.4.0
# v6.4.5
uses: coursier/cache-action@1ff273bff02a8787bc9f1877d347948af647956d

- name: Set up JDK 11
# https://github.com/coursier/setup-action/releases
uses: coursier/setup-action@v1.3.4
# v1.3.5
uses: coursier/setup-action@7bde40eee928896f074dbb76d22dd772eed5c65f
with:
jvm: temurin:1.11

Expand Down
14 changes: 10 additions & 4 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
test:
name: Run tests
runs-on: ubuntu-22.04
if: github.repository == 'akka/akka-grpc'
if: github.event.repository.fork == false
strategy:
fail-fast: false
matrix:
Expand All @@ -26,15 +26,21 @@ jobs:
- { scalaVersion: "3.3", jdkVersion: "1.17.0", jvmName: "temurin:1.17.0", extraOpts: '' }
steps:
- name: Checkout
uses: actions/checkout@v3.1.0
# https://github.com/actions/checkout/releases
# v4.1.1
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
fetch-depth: 0

- name: Cache Coursier cache
uses: coursier/cache-action@v6.4.0
# https://github.com/coursier/cache-action/releases
# v6.4.5
uses: coursier/cache-action@1ff273bff02a8787bc9f1877d347948af647956d

- name: Set up JDK ${{ matrix.jdkVersion }}
uses: coursier/setup-action@v1.3.4
# https://github.com/coursier/setup-action/releases
# v1.3.5
uses: coursier/setup-action@7bde40eee928896f074dbb76d22dd772eed5c65f
with:
jvm: ${{ matrix.jvmName }}

Expand Down
17 changes: 0 additions & 17 deletions .github/workflows/pr-labeler.yml

This file was deleted.

Loading

0 comments on commit a1ef7e9

Please sign in to comment.