Fixes case-sensitivity of connector type on import packages #1744
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
# SPDX-License-Identifier: Apache-2.0 | |
# Copyright 2022 Atlan Pte. Ltd. | |
name: "PR" | |
on: | |
- pull_request | |
permissions: | |
contents: read | |
jobs: | |
pr-build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 17 | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
- name: Build artifacts | |
run: ./gradlew assemble shadowJar | |
env: | |
GH_USERNAME: ${{ github.actor }} | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NVD_API_KEY: ${{ secrets.NVD_API_KEY }} | |
pr-format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 17 | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
- name: Check formatting | |
run: ./gradlew spotlessCheck | |
env: | |
NVD_API_KEY: ${{ secrets.NVD_API_KEY }} | |
pr-test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 17 | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
- name: Unit tests | |
run: ./gradlew test | |
env: | |
GH_USERNAME: ${{ github.actor }} | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NVD_API_KEY: ${{ secrets.NVD_API_KEY }} | |
pr-security: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Dependency review | |
uses: actions/dependency-review-action@v4 | |
with: | |
fail-on-severity: moderate |