From f06166dc5efa39b2be3aa6f176939a81abe06720 Mon Sep 17 00:00:00 2001 From: loki5512344 Date: Wed, 10 Jun 2026 23:32:48 +0200 Subject: [PATCH] =?UTF-8?q?chore:=20=D1=83=D0=B4=D0=B0=D0=BB=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20Forgejo=20Actions=20(=D0=B1=D0=BE=D0=BB=D1=8C=D1=88?= =?UTF-8?q?=D0=B5=20=D0=BD=D0=B5=20=D0=B8=D1=81=D0=BF=D0=BE=D0=BB=D1=8C?= =?UTF-8?q?=D0=B7=D1=83=D0=B5=D1=82=D1=81=D1=8F)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .forgejo/workflows/build.yml | 47 ---------------------------------- .forgejo/workflows/quality.yml | 39 ---------------------------- .forgejo/workflows/release.yml | 39 ---------------------------- 3 files changed, 125 deletions(-) delete mode 100644 .forgejo/workflows/build.yml delete mode 100644 .forgejo/workflows/quality.yml delete mode 100644 .forgejo/workflows/release.yml diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml deleted file mode 100644 index 0b01c66..0000000 --- a/.forgejo/workflows/build.yml +++ /dev/null @@ -1,47 +0,0 @@ -name: Build and Test - -on: - push: - branches: [ main, develop ] - pull_request: - branches: [ main ] - -jobs: - build: - runs-on: codeberg-small - - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Set up JDK 21 - uses: actions/setup-java@v4 - with: - java-version: '21' - distribution: 'temurin' - cache: gradle - - - name: Grant execute permission for gradlew - run: chmod +x gradlew - - - name: Build with Gradle - run: ./gradlew build --no-daemon - - - name: Run tests - run: ./gradlew test --no-daemon - - - name: Upload build artifacts - uses: actions/upload-artifact@v3 - if: success() - with: - name: lochat-plugin - path: build/libs/*.jar - retention-days: 30 - - - name: Upload test results - uses: actions/upload-artifact@v3 - if: always() - with: - name: test-results - path: build/reports/tests/ - retention-days: 7 diff --git a/.forgejo/workflows/quality.yml b/.forgejo/workflows/quality.yml deleted file mode 100644 index 57ac232..0000000 --- a/.forgejo/workflows/quality.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: Code Quality - -on: - push: - branches: [ main, develop ] - pull_request: - branches: [ main ] - -jobs: - quality: - runs-on: codeberg-small - - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Set up JDK 21 - uses: actions/setup-java@v4 - with: - java-version: '21' - distribution: 'temurin' - cache: gradle - - - name: Grant execute permission for gradlew - run: chmod +x gradlew - - - name: Check code style - run: ./gradlew check --no-daemon - - - name: Run tests with coverage - run: ./gradlew test jacocoTestReport --no-daemon - - - name: Upload coverage reports - uses: actions/upload-artifact@v3 - if: always() - with: - name: coverage-reports - path: build/reports/jacoco/ - retention-days: 7 diff --git a/.forgejo/workflows/release.yml b/.forgejo/workflows/release.yml deleted file mode 100644 index 65bbf52..0000000 --- a/.forgejo/workflows/release.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: Release - -on: - push: - tags: - - 'v*' - -jobs: - release: - runs-on: codeberg-small - - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Set up JDK 21 - uses: actions/setup-java@v4 - with: - java-version: '21' - distribution: 'temurin' - cache: gradle - - - name: Grant execute permission for gradlew - run: chmod +x gradlew - - - name: Build release - run: ./gradlew build -x test --no-daemon - - - name: Get version from tag - id: get_version - run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT - - - name: Create Release - uses: actions/forgejo-release@v2 - with: - direction: upload - release-dir: build/libs - token: ${{ secrets.GITHUB_TOKEN }} - tag: ${{ github.ref_name }}