Skip to content

Setup CI

Setup CI #2

Workflow file for this run

name: CI
on:
- pull_request
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
- uses: gradle/actions/[email protected]
- name: Run tests
run: gradle check
- name: Publish SNAPSHOT
run: gradle publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}