[DO NOT MERGE] - This is a CI test for whitesource scan. #61
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: CI | ||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
types: [opened, synchronize] | ||
permissions: | ||
id-token: write | ||
checks: write | ||
pull-requests: write | ||
contents: write | ||
jobs: | ||
ci: | ||
uses: SolaceDev/solace-public-workflows/.github/workflows/hatch_ci.yml@security_tools | ||
Check failure on line 17 in .github/workflows/ci.yml GitHub Actions / CIInvalid workflow file
|
||
with: | ||
min-python-version: "3.9" | ||
secrets: | ||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | ||
SONAR_HOST_URL: ${{ vars.SONAR_HOST_URL }} | ||
# structure-test: | ||
# name: Test Docker Image Structure | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - name: Checkout | ||
# uses: actions/checkout@v4 | ||
# with: | ||
# fetch-depth: 0 | ||
# ssh-key: ${{ secrets.COMMIT_KEY }} | ||
# - name: Set up Hatch | ||
# uses: SolaceDev/solace-public-workflows/.github/actions/hatch-setup@latest | ||
# with: | ||
# min-python-version: "3.9" | ||
# - name: Set Up Docker Buildx | ||
# id: builder | ||
# uses: docker/setup-buildx-action@v3 | ||
# - name: Prepare env file | ||
# run: | | ||
# cp .env_template .env | ||
# - name: Build Docker Image | ||
# uses: docker/build-push-action@v6 | ||
# with: | ||
# push: false | ||
# tags: solace/solace-ai-connector:local | ||
# platforms: linux/amd64 | ||
# builder: ${{ steps.builder.outputs.name }} | ||
# load: true | ||
# - name: Run Structure Tests | ||
# shell: bash | ||
# run: | | ||
# hatch run make structure-test |