-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into twyatt/gradle-config
- Loading branch information
Showing
13 changed files
with
170 additions
and
19 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# https://help.github.com/articles/about-codeowners/ | ||
|
||
* @JuulLabs/conx-kotlin-reviewers @cedrickcooke @twyatt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: CI | ||
on: | ||
pull_request: | ||
# Trigger on merges to `main` to allow `gradle/gradle-build-action` runs to write their caches. | ||
# https://github.com/gradle/gradle-build-action#using-the-caches-read-only | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: gradle/wrapper-validation-action@v2 | ||
- uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '17' | ||
|
||
- name: assemble | ||
uses: gradle/gradle-build-action@v2 | ||
with: | ||
arguments: assemble check jacocoTestReport | ||
|
||
- uses: codecov/codecov-action@v4 | ||
|
||
- name: publishToMavenLocal | ||
uses: gradle/gradle-build-action@v2 | ||
with: | ||
arguments: | | ||
-PRELEASE_SIGNING_ENABLED=false | ||
publishToMavenLocal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Documentation | ||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: gradle/wrapper-validation-action@v2 | ||
- uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '17' | ||
|
||
- name: dokkaHtmlMultiModule | ||
uses: gradle/gradle-build-action@v2 | ||
with: | ||
cache-read-only: true | ||
arguments: dokkaHtmlMultiModule | ||
|
||
- uses: JamesIves/github-pages-deploy-action@v4 | ||
with: | ||
folder: build/dokkaHtmlMultiModule |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Publish | ||
on: | ||
release: | ||
types: | ||
- published | ||
|
||
jobs: | ||
publish: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: gradle/wrapper-validation-action@v2 | ||
- uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '17' | ||
|
||
- name: check | ||
uses: gradle/gradle-build-action@v2 | ||
with: | ||
arguments: check | ||
|
||
- name: publish | ||
uses: gradle/gradle-build-action@v2 | ||
with: | ||
arguments: | | ||
-PVERSION_NAME=${{ github.ref_name }} | ||
-PsigningInMemoryKey=${{ secrets.SIGNING_KEY }} | ||
-PsigningInMemoryKeyPassword=${{ secrets.SIGNING_PASSWORD }} | ||
-PmavenCentralUsername=${{ secrets.OSS_SONATYPE_NEXUS_USERNAME }} | ||
-PmavenCentralPassword=${{ secrets.OSS_SONATYPE_NEXUS_PASSWORD }} | ||
publish |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Release Drafter | ||
# https://github.com/release-drafter/release-drafter#usage | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
update-release-draft: | ||
permissions: | ||
contents: write | ||
pull-requests: read | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: release-drafter/release-drafter@v6 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Validate Maven Signing | ||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
signing: | ||
if: github.repository_owner == 'JuulLabs' | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: gradle/wrapper-validation-action@v2 | ||
- uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '17' | ||
|
||
- name: publishToMavenLocal | ||
uses: gradle/gradle-build-action@v2 | ||
with: | ||
cache-read-only: true | ||
arguments: | | ||
-PsigningInMemoryKey=${{ secrets.SIGNING_KEY }} | ||
-PsigningInMemoryKeyPassword=${{ secrets.SIGNING_PASSWORD }} | ||
publishToMavenLocal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: Version Labels | ||
on: | ||
pull_request: | ||
types: [opened, labeled, unlabeled, synchronize] | ||
jobs: | ||
label: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: mheap/github-action-required-labels@v5 | ||
with: | ||
mode: exactly | ||
count: 1 | ||
labels: "patch, minor, major, maintenance, renovate" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.