Skip to content
This repository was archived by the owner on Mar 16, 2026. It is now read-only.

Remove tlaplus-smith dependency for now #229

Remove tlaplus-smith dependency for now

Remove tlaplus-smith dependency for now #229

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
checks: write
steps:
- uses: actions/checkout@v6
- name: Checkout TLAPS repository
uses: actions/checkout@v6
with:
repository: tlaplus/tlapm
path: tlapm
- name: Download Community Modules
run: |
curl -sLO https://github.com/tlaplus/CommunityModules/releases/latest/download/CommunityModules-deps.jar
unzip -o CommunityModules-deps.jar -d CommunityModules
- name: Set up JDK 21
uses: actions/setup-java@v5
with:
java-version: '21'
distribution: 'temurin'
- name: Validate Gradle wrapper
uses: gradle/actions/wrapper-validation@v5
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v5
- name: Build with Gradle Wrapper
run: ./gradlew build -DTLA-Library="${{ github.workspace }}/tlapm/library:${{ github.workspace }}/CommunityModules"
- name: Upload SpotBugs report
if: always()
uses: actions/upload-artifact@v7
with:
name: spotbugs-report
path: build/reports/spotbugs/
retention-days: 30
- name: Upload test results
uses: actions/upload-artifact@v7
if: always()
with:
name: test-results
path: build/test-results/test/
retention-days: 30
- name: Test report
uses: dorny/test-reporter@v2
if: always()
with:
name: JUnit Tests
path: build/test-results/test/*.xml
reporter: java-junit
- name: Upload coverage report
uses: actions/upload-artifact@v7
if: always()
with:
name: coverage-report
path: build/reports/jacoco/test/
retention-days: 30
- name: Upload JAR artifact
uses: actions/upload-artifact@v7
with:
name: tlaplus-formatter-jar
path: build/libs/tlaplus-formatter.jar
retention-days: 90
if-no-files-found: error