Bump jep from 4.2.2 to 4.3.1 #1053
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Continuous integration | |
| on: | |
| push: | |
| pull_request: | |
| schedule: | |
| - cron: "0 2 * * 5" # Run at 2 am on Fridays. | |
| concurrency: | |
| group: ${{ github.ref }} | |
| cancel-in-progress: ${{ github.event_name != 'push' || !startsWith(github.ref, 'refs/tags/') }} # Cancel if not a tag push. | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out wala/ML sources | |
| uses: actions/checkout@v5 | |
| with: | |
| submodules: 'recursive' | |
| - name: Update the WALA submodule with its latest commit | |
| run: git submodule update --recursive --remote | |
| - name: Set up JDK | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '25' | |
| distribution: 'temurin' | |
| cache: maven | |
| - name: Install Python. | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.13' | |
| cache: 'pip' | |
| - name: Install Python dependencies. | |
| run: pip install -r requirements.txt | |
| - name: Check formatting with spotless. | |
| run: mvn spotless:check -B | |
| - name: Check formatting with Black. | |
| run: black --fast --check . | |
| - name: Install Jython3. | |
| run: | | |
| pushd jython3 | |
| ant | |
| pushd dist | |
| mvn install:install-file -Dfile=./jython-dev.jar -DgroupId="org.python" -DartifactId="jython3" -Dversion="0.0.1-SNAPSHOT" -Dpackaging="jar" -DgeneratePom=true -B | |
| popd | |
| popd | |
| shell: bash | |
| - name: Install WALA. | |
| run: | | |
| pushd WALA | |
| ./gradlew build publishToMavenLocal -x test -x javadoc -x lintMarkdown | |
| popd | |
| - name: Install IDE. | |
| run: | | |
| pushd IDE/com.ibm.wala.cast.lsp | |
| mvn install -B -q -DskipTests | |
| popd | |
| - name: Build with Maven | |
| run: mvn -Dlogging.config.file=./logging.ci.properties verify -B -Pjacoco | |
| - name: Upload coverage reports to Codecov | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| token: $CODECOV_TOKEN | |
| slug: wala/ML | |
| env: | |
| CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |