diff --git a/.github/workflows/dependabot.yml b/.github/workflows/dependabot.yml index 6b46ebb..a271121 100644 --- a/.github/workflows/dependabot.yml +++ b/.github/workflows/dependabot.yml @@ -19,7 +19,10 @@ permissions: contents: write jobs: + test: + uses: ./.github/workflows/test.yml dependabot: + needs: test runs-on: ubuntu-latest if: ${{ github.actor == 'dependabot[bot]' }} env: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 84f6ee7..0ccd5e0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,11 +27,6 @@ jobs: with: token: ${{ secrets.SYNCED_GITHUB_TOKEN_REPO }} - uses: gradle/wrapper-validation-action@v1.0.4 - - name: Set up JDK 17 - uses: actions/setup-java@v3 - with: - java-version: '17' - distribution: 'temurin' - name: Create .gpg key run: | echo $GPG_KEY_ARMOR | base64 --decode > ./release.asc @@ -50,6 +45,7 @@ jobs: GPG_PASSWORD: ${{ secrets.SYNCED_GPG_KEY_PASSWORD }} SONATYPE_PASSWORD: ${{ secrets.SYNCED_SONATYPE_PASSWORD }} SONATYPE_USERNAME: ${{ secrets.SYNCED_SONATYPE_USERNAME }} + - uses: actions/setup-node@v2 with: node-version: '14' diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index db26846..0e20193 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,6 +23,7 @@ on: pull_request: branches-ignore: ['gh-pages'] workflow_dispatch: + workflow_call: jobs: test: diff --git a/.releaserc b/.releaserc index 1deff5c..d7cda05 100644 --- a/.releaserc +++ b/.releaserc @@ -11,7 +11,7 @@ plugins: to: "version = '${nextRelease.version}'" - files: - "README.md" - from: ":[0-9].[0-9].[0-9]" + from: ":([0-9]+).([0-9]+).([0-9]+)" to: ":${nextRelease.version}" - - "@semantic-release/exec" - prepareCmd: "./gradlew build --warn --stacktrace"