Bump ch.qos.logback:logback-classic in /java/case2geo #146
Workflow file for this run
This file contains 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: Build Jobs | |
on: | |
push: | |
pull_request: | |
branches: | |
- main | |
# Build all of the projects and run them against the CASE graph | |
jobs: | |
dotnet: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
# Test oldest and most current supported versions, per: | |
# https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core | |
dotnet-version: | |
- '6.x' | |
- '7.x' | |
steps: | |
# Get the code from the repository | |
- name: Get Repo | |
uses: actions/checkout@v3 | |
# Install the .NET SDK | |
- name: Setup .NET | |
uses: actions/[email protected] | |
with: | |
dotnet-version: ${{ matrix.dotnet-version }} | |
# Build the project | |
- name: Build | |
run: dotnet build | |
working-directory: ./dotnet/ | |
# Run the built CASE conversion example | |
- name: Run CASE Conversion | |
run: | | |
dotnet run ../data/geo.json ../output/dotnet.geojson | |
cat ../output/dotnet.geojson | |
working-directory: ./dotnet/ | |
python: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
# Test oldest and most current supported versions, per: | |
# https://www.python.org/downloads/ | |
# and: | |
# https://github.com/casework/CASE-Utilities-Python/blob/main/setup.cfg | |
python-version: | |
- '3.9' | |
- '3.11' | |
steps: | |
# Get the code from the repository | |
- name: Get Repo | |
uses: actions/checkout@v3 | |
# Install Python | |
- name: Setup Python | |
uses: actions/[email protected] | |
with: | |
python-version: ${{ matrix.python-version }} | |
# Install the rdflib dependency | |
- name: Install Dependencies | |
run: pip3 install rdflib | |
# Run the Python CASE conversion example | |
- name: Run CASE Conversion | |
run: | | |
python3 CASE2GeoJSON.py ../data/geo.json ../output/python.geojson | |
cat ../output/python.geojson | |
working-directory: ./python/ | |
java: | |
runs-on: ubuntu-latest | |
steps: | |
# Get the code from the repository | |
- name: Get Repo | |
uses: actions/checkout@v3 | |
# Install Java | |
- name: Setup Java | |
uses: actions/[email protected] | |
with: | |
distribution: 'temurin' | |
java-version: '18' | |
cache: 'maven' | |
# Build the project | |
- name: Build Project | |
run: mvn compile assembly:single | |
working-directory: ./java/case2geo/ | |
# Run the Java CASE conversion example | |
- name: Run CASE Conversion | |
run: | | |
java -jar ./target/case2geo-0.1.0.jar ../../data/geo.json ../../output/java.geojson | |
cat ../../output/java.geojson | |
working-directory: ./java/case2geo/ |