|
37 | 37 | oracle-sid: 'XE' |
38 | 38 | oracle-version: "gvenzl/oracle-xe:21-slim-faststart" |
39 | 39 | - id: 3 |
40 | | - db_version_name: '23free' |
| 40 | + db_version_name: '23-free' |
41 | 41 | oracle-sid: 'FREEPDB1' |
42 | 42 | oracle-version: "gvenzl/oracle-free:23-slim-faststart" |
43 | 43 | services: |
@@ -116,17 +116,17 @@ jobs: |
116 | 116 | run: docker exec -w /utPLSQL ${DOCKER_ENV} oracle .github/scripts/install.sh |
117 | 117 |
|
118 | 118 | - name: Check code style |
119 | | - if: ${{ matrix.db_version_name == '21XE' }} |
| 119 | + if: ${{ matrix.id == 1 }} |
120 | 120 | id: check-coding-style |
121 | 121 | run: docker exec -w /utPLSQL ${DOCKER_ENV} oracle "$SQLCLI" ${UT3_DEVELOP_SCHEMA}/${UT3_DEVELOP_SCHEMA_PASSWORD}@//${CONNECTION_STR} @/utPLSQL/development/utplsql_style_check.sql |
122 | 122 |
|
123 | 123 | - name: Validate utPLSQL uninstall |
124 | | - if: ${{ matrix.db_version_name == '21XE' }} |
| 124 | + if: ${{ matrix.id == 1 }} |
125 | 125 | id: validate-uninstall |
126 | 126 | run: docker exec -w /utPLSQL ${DOCKER_ENV} oracle .github/scripts/uninstall_validate_utplsql.sh |
127 | 127 |
|
128 | 128 | - name: Reinstall utPLSQL |
129 | | - if: ${{ matrix.db_version_name == '21XE' }} |
| 129 | + if: ${{ matrix.id == 1 }} |
130 | 130 | id: reinstall-utplsql |
131 | 131 | run: docker exec -w /utPLSQL ${DOCKER_ENV} oracle .github/scripts/install.sh |
132 | 132 |
|
@@ -190,15 +190,15 @@ jobs: |
190 | 190 |
|
191 | 191 | - name: SonarCloud Scan |
192 | 192 | id: sonar |
193 | | - if: ${{ always() && matrix.db_version_name == '21XE' }} |
194 | | - uses: SonarSource/sonarcloud-github-action@v5.0.0 |
| 193 | + if: ${{ always() && matrix.db_version_name == '23-free' }} |
| 194 | + uses: SonarSource/sonarcloud-github-action@master |
195 | 195 | env: |
196 | 196 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any |
197 | 197 | SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} |
198 | 198 | with: |
199 | 199 | args: > |
200 | 200 | -Dsonar.buildString=${{ format( '{0}.{1}', env.UTPLSQL_BUILD_VERSION, matrix.id ) }} |
201 | | - -Dsonar.plsql.jdbc.url=${{ format( 'jdbc:oracle:thin:@//oracle:1521/{0}', env.ORACLE_SID ) }} |
| 201 | + -Dsonar.plsql.jdbc.url=${{ format( 'jdbc:oracle:thin:@//localhost:1521/{0}', env.ORACLE_SID ) }} |
202 | 202 | -Dsonar.plsql.jdbc.driver.path=${{ format( '{0}/ojdbc8.jar', env.OJDBC_HOME ) }} |
203 | 203 |
|
204 | 204 | publish: |
|
0 commit comments