mirror of
https://github.com/hierynomus/sshj.git
synced 2025-12-06 15:20:54 +03:00
- Upgraded Bouncy Castle from 1.78 to 1.78.1 - Upgraded SLF4J from 2.0.7 to 2.0.13 - Upgraded SSHD from 2.10.0 to 2.12.1 - Upgraded Logback from 1.3.8 to 1.3.14 - Upgraded Testcontainers from 1.18.3 to 1.19.8 - Upgraded setup-java action to version 4 - Upgraded checkout action to version 4
45 lines
1.1 KiB
YAML
45 lines
1.1 KiB
YAML
# This workflow will build a Java project with Gradle
|
|
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
|
|
|
|
name: Build SSHJ
|
|
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
java12:
|
|
name: Build with Java 11
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Set up Java 11
|
|
uses: actions/setup-java@v4
|
|
with:
|
|
distribution: 'temurin'
|
|
java-version: 11
|
|
- name: Grant execute permission for gradlew
|
|
run: chmod +x gradlew
|
|
- name: Build with Gradle
|
|
run: ./gradlew check
|
|
- name: Codecov
|
|
uses: codecov/codecov-action@v2
|
|
|
|
integration:
|
|
name: Integration test
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
|
|
- uses: actions/setup-java@v4
|
|
with:
|
|
distribution: 'temurin'
|
|
java-version: 11
|
|
- name: Grant execute permission for gradlew
|
|
run: chmod +x gradlew
|
|
- name: Build with Gradle
|
|
run: ./gradlew integrationTest
|
|
|