Skip to content

Commit

Permalink
add test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
PssbleTrngle committed Aug 23, 2024
1 parent dc24d36 commit e784941
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Test
on:
workflow_dispatch:
push:
branches: ["[0-9]+.[0-9]+.x"]
pull_request:
types: [opened, synchronize]

jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
steps:
- uses: actions/checkout@v4

- uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin

- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v3

- name: Build and upload
uses: gradle/gradle-build-action@v3
with:
arguments: build
env:
CI: true

0 comments on commit e784941

Please sign in to comment.