ECWID-144513 startersite error Caused by IllegalStateException: Expected but was STRING at line column path at JsonReader.beginObject(JsonReader.java:) - removed unused imports #1064
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: On pull request | |
on: [ pull_request ] | |
concurrency: pull-request | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout full repository history | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'corretto' | |
cache: 'gradle' | |
- name: Build, run tests and upload dev snapshot to Maven Central with Gradle | |
run: ./gradlew devSnapshot printDevSnapshotReleaseNote | |
env: | |
STORE_ID: ${{ secrets.STORE_ID }} | |
API_TOKEN: ${{ secrets.API_TOKEN }} | |
API_HOST: ${{ secrets.API_HOST }} | |
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }} | |
GPG_SIGNING_PASSWORD: ${{ secrets.GPG_SIGNING_PASSWORD }} | |
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }} | |
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} | |
GITHUB_HEAD_REF: ${{ github.head_ref }} | |
- name: Upload artifacts with checks results | |
uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: check-results | |
path: | | |
${{ github.workspace }}/build/reports/tests/test/* | |
${{ github.workspace }}/build/reports/detekt/detekt.html | |
- name: Upload static analysis results | |
uses: github/codeql-action/upload-sarif@v2 | |
if: always() | |
with: | |
sarif_file: ${{ github.workspace }}/build/reports/detekt/detekt.sarif | |
category: "Detekt Scanning" |