mirror of
https://github.com/WiIIiam278/HuskSync.git
synced 2025-12-19 14:59:21 +00:00
ci: Update deps, tidy workflow files
This commit is contained in:
21
.github/dependabot.yml
vendored
21
.github/dependabot.yml
vendored
@@ -1,7 +1,22 @@
|
|||||||
# Dependabot configuration file for GitHub
|
# Dependabot configuration file for GitHub
|
||||||
|
|
||||||
version: 2
|
version: 2
|
||||||
updates:
|
updates:
|
||||||
- package-ecosystem: "gradle" # See documentation for possible values
|
# CI workflow action updates
|
||||||
directory: "/" # Location of package manifests
|
- package-ecosystem: "github-actions"
|
||||||
|
directory: "/"
|
||||||
schedule:
|
schedule:
|
||||||
interval: "daily"
|
interval: "weekly"
|
||||||
|
commit-message:
|
||||||
|
prefix: "ci"
|
||||||
|
|
||||||
|
# Gradle package updates
|
||||||
|
- package-ecosystem: "gradle"
|
||||||
|
directory: "/"
|
||||||
|
schedule:
|
||||||
|
interval: "weekly"
|
||||||
|
commit-message:
|
||||||
|
prefix: "deps"
|
||||||
|
ignore:
|
||||||
|
- dependency-name: 'org.spigotmc:spigot-api'
|
||||||
|
- dependency-name: 'org.papermc:paper-api'
|
||||||
1
.github/funding.yml
vendored
1
.github/funding.yml
vendored
@@ -1,3 +1,4 @@
|
|||||||
# Funding metadata for GitHub
|
# Funding metadata for GitHub
|
||||||
|
|
||||||
github: WiIIiam278
|
github: WiIIiam278
|
||||||
custom: https://buymeacoff.ee/william278
|
custom: https://buymeacoff.ee/william278
|
||||||
29
.github/workflows/ci.yml
vendored
29
.github/workflows/ci.yml
vendored
@@ -1,4 +1,3 @@
|
|||||||
# Builds, tests the project with Gradle
|
|
||||||
name: CI Tests
|
name: CI Tests
|
||||||
|
|
||||||
on:
|
on:
|
||||||
@@ -17,21 +16,29 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- name: 'Checkout for CI 🛎️'
|
||||||
- name: Set up JDK 17
|
uses: actions/checkout@v4
|
||||||
uses: actions/setup-java@v3
|
- name: 'Set up JDK 17 📦'
|
||||||
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
java-version: '17'
|
java-version: '17'
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
- name: Build with Gradle
|
- name: 'Build with Gradle 🏗️'
|
||||||
uses: gradle/gradle-build-action@v2
|
uses: gradle/gradle-build-action@v2
|
||||||
with:
|
with:
|
||||||
arguments: build test publish
|
arguments: build test publish
|
||||||
env:
|
env:
|
||||||
SNAPSHOTS_MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
|
SNAPSHOTS_MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
|
||||||
SNAPSHOTS_MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
|
SNAPSHOTS_MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
|
||||||
- name: Publish Test Report
|
- name: 'Publish Test Report 📊'
|
||||||
uses: mikepenz/action-junit-report@v3
|
uses: mikepenz/action-junit-report@v4
|
||||||
if: success() || failure() # always run even if the previous step fails
|
if: success() || failure() # Continue on failure
|
||||||
with:
|
with:
|
||||||
report_paths: '**/build/test-results/test/TEST-*.xml'
|
report_paths: '**/build/test-results/test/TEST-*.xml'
|
||||||
|
- name: 'Fetch Version Name 📝'
|
||||||
|
run: |
|
||||||
|
echo "::set-output name=VERSION_NAME::$(${{github.workspace}}/gradlew properties --no-daemon --console=plain -q | grep "^version:" | awk '{printf $2}')"
|
||||||
|
id: fetch-version
|
||||||
|
- name: Get Version
|
||||||
|
run: |
|
||||||
|
echo "version_name=${{steps.fetch-version.outputs.VERSION_NAME}}" >> $GITHUB_ENV
|
||||||
18
.github/workflows/pr_tests.yml
vendored
18
.github/workflows/pr_tests.yml
vendored
@@ -1,4 +1,3 @@
|
|||||||
# Carry out tests on pull requests
|
|
||||||
name: PR Tests
|
name: PR Tests
|
||||||
|
|
||||||
on:
|
on:
|
||||||
@@ -7,18 +6,25 @@ on:
|
|||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
checks: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- name: 'Checkout for CI 🛎'
|
||||||
- name: Set up JDK 17
|
uses: actions/checkout@v4
|
||||||
uses: actions/setup-java@v3
|
- name: 'Set up JDK 17 📦'
|
||||||
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
java-version: '17'
|
java-version: '17'
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
- name: Test Pull Request
|
- name: 'Build with Gradle 🏗️'
|
||||||
uses: gradle/gradle-build-action@v2
|
uses: gradle/gradle-build-action@v2
|
||||||
with:
|
with:
|
||||||
arguments: test
|
arguments: test
|
||||||
|
- name: 'Publish Test Report 📊'
|
||||||
|
uses: mikepenz/action-junit-report@v4
|
||||||
|
if: success() || failure() # Continue on failure
|
||||||
|
with:
|
||||||
|
report_paths: '**/build/test-results/test/TEST-*.xml'
|
||||||
18
.github/workflows/release.yml
vendored
18
.github/workflows/release.yml
vendored
@@ -1,9 +1,8 @@
|
|||||||
# Builds, tests and publishes to maven when a release is published
|
|
||||||
name: Release Tests
|
name: Release Tests
|
||||||
|
|
||||||
on:
|
on:
|
||||||
release:
|
release:
|
||||||
types: [ published ]
|
types: [ 'published' ]
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
@@ -13,21 +12,22 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- name: 'Checkout for CI 🛎️'
|
||||||
- name: Set up JDK 17
|
uses: actions/checkout@v4
|
||||||
uses: actions/setup-java@v3
|
- name: 'Set up JDK 17 📦'
|
||||||
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
java-version: '17'
|
java-version: '17'
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
- name: Build with Gradle
|
- name: 'Build with Gradle 🏗️'
|
||||||
uses: gradle/gradle-build-action@v2
|
uses: gradle/gradle-build-action@v2
|
||||||
with:
|
with:
|
||||||
arguments: build test publish
|
arguments: build test publish
|
||||||
env:
|
env:
|
||||||
RELEASES_MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
|
RELEASES_MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
|
||||||
RELEASES_MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
|
RELEASES_MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
|
||||||
- name: Publish Test Report
|
- name: 'Publish Test Report 📊'
|
||||||
uses: mikepenz/action-junit-report@v3
|
uses: mikepenz/action-junit-report@v4
|
||||||
if: success() || failure() # always run even if the previous step fails
|
if: success() || failure() # Continue on failure
|
||||||
with:
|
with:
|
||||||
report_paths: '**/build/test-results/test/TEST-*.xml'
|
report_paths: '**/build/test-results/test/TEST-*.xml'
|
||||||
9
.github/workflows/update_docs.yml
vendored
9
.github/workflows/update_docs.yml
vendored
@@ -1,4 +1,3 @@
|
|||||||
# Update the GitHub Wiki documentation when a push is made to docs/
|
|
||||||
name: Update Docs
|
name: Update Docs
|
||||||
|
|
||||||
on:
|
on:
|
||||||
@@ -17,10 +16,10 @@ jobs:
|
|||||||
deploy-wiki:
|
deploy-wiki:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: 'Checkout Code'
|
- name: 'Checkout for CI 🛎️'
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
- name: 'Push Changes to Wiki'
|
- name: 'Push Docs to Github Wiki 📄️'
|
||||||
uses: Andrew-Chen-Wang/github-wiki-action@v3
|
uses: Andrew-Chen-Wang/github-wiki-action@v4
|
||||||
env:
|
env:
|
||||||
WIKI_DIR: 'docs/'
|
WIKI_DIR: 'docs/'
|
||||||
GH_TOKEN: ${{ github.token }}
|
GH_TOKEN: ${{ github.token }}
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ plugin_version=3.1.1
|
|||||||
plugin_archive=husksync
|
plugin_archive=husksync
|
||||||
plugin_description=A modern, cross-server player data synchronization system
|
plugin_description=A modern, cross-server player data synchronization system
|
||||||
|
|
||||||
jedis_version=5.0.2
|
jedis_version=5.1.0
|
||||||
mysql_driver_version=8.2.0
|
mysql_driver_version=8.2.0
|
||||||
mariadb_driver_version=3.2.0
|
mariadb_driver_version=3.3.0
|
||||||
snappy_version=1.1.10.5
|
snappy_version=1.1.10.5
|
||||||
|
|||||||
Reference in New Issue
Block a user