Compare commits
No commits in common. "v1.70.0" and "v1.69.2" have entirely different histories.
3 changed files with 4 additions and 37 deletions
|
@ -29,32 +29,6 @@ jobs:
|
||||||
workflow:
|
workflow:
|
||||||
- '.gitea/workflows/**'
|
- '.gitea/workflows/**'
|
||||||
|
|
||||||
test-backend:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
name: "Backend Tests"
|
|
||||||
needs: changed_files
|
|
||||||
if: ${{ needs.changed_files.outputs.backend == 'true' || needs.changed_files.outputs.workflow == 'true' }}
|
|
||||||
container:
|
|
||||||
image: "cimg/openjdk:23.0-node"
|
|
||||||
steps:
|
|
||||||
- name: "Checkout"
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: "Run tests"
|
|
||||||
working-directory: ./backend
|
|
||||||
run: |
|
|
||||||
./gradlew test
|
|
||||||
|
|
||||||
- name: "Cache checkstyle results"
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
name: checkstyle-results
|
|
||||||
path: backend/build/reports/checkstyle
|
|
||||||
|
|
||||||
- name: "Stop Gradle"
|
|
||||||
working-directory: ./backend
|
|
||||||
run: ./gradlew --stop
|
|
||||||
|
|
||||||
checkstyle:
|
checkstyle:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: "Checkstyle Main"
|
name: "Checkstyle Main"
|
||||||
|
|
|
@ -31,7 +31,7 @@ jobs:
|
||||||
TEA_VERSION=$(echo "${{ steps.tea_version.outputs.version }}")
|
TEA_VERSION=$(echo "${{ steps.tea_version.outputs.version }}")
|
||||||
wget "https://gitea.com/gitea/tea/releases/download/v${TEA_VERSION}/tea-${TEA_VERSION}-linux-amd64" -O tea
|
wget "https://gitea.com/gitea/tea/releases/download/v${TEA_VERSION}/tea-${TEA_VERSION}-linux-amd64" -O tea
|
||||||
chmod +x tea
|
chmod +x tea
|
||||||
mv tea /usr/local/bin/tea
|
sudo mv tea /usr/local/bin/tea
|
||||||
|
|
||||||
- name: Verify Tea Installation
|
- name: Verify Tea Installation
|
||||||
run: tea --version
|
run: tea --version
|
||||||
|
@ -71,7 +71,5 @@ jobs:
|
||||||
|
|
||||||
tea \"<reject or approve>\" ${PR_NUMBER} \"<your review message here>\"
|
tea \"<reject or approve>\" ${PR_NUMBER} \"<your review message here>\"
|
||||||
|
|
||||||
Make sure the comment is clear, professional, and helpful. Only run the tea comment command once you're finished reviewing all changes. AND MOST IMPORTANDLY ONLY REVIEW THE DIFF FROM THE CURRENT STATE TO THE MAIN BRANCH TO GET THAT USE GIT DIFF
|
Make sure the comment is clear, professional, and helpful. Only run the tea comment command once you're finished reviewing all changes. AND MOST IMPORTANDLY ONLY REVIEW THE DIFF FROM THE CURRENT STATE TO THE MAIN BRANCH TO GET THAT USE GIT DIFF. Also if the changes are rejected be a bit mean
|
||||||
You may also use the tea cli to find out various things about the pull request
|
You may also use the tea cli to find out various things about the pull request"
|
||||||
Don't be too strict
|
|
||||||
Also MAKE SURE TO ALWAYS MENTION WHAT FILES AND LINE NUMBERS ARE WRONG"
|
|
||||||
|
|
|
@ -1,12 +1,7 @@
|
||||||
FROM oven/bun:debian AS build
|
FROM oven/bun:debian AS build
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
RUN apt-get update -y && \
|
RUN apt-get update -y && apt-get install nodejs -y
|
||||||
apt-get install -y --no-install-recommends curl ca-certificates gnupg && \
|
|
||||||
curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
|
|
||||||
apt-get install -y --no-install-recommends nodejs && \
|
|
||||||
apt-get clean && \
|
|
||||||
rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
|
|
||||||
|
|
Reference in a new issue