diff --git a/.github/workflows/dockerhub-description.yml b/.github/workflows/dockerhub-description.yml index 10ac0a197..f2849b6bf 100644 --- a/.github/workflows/dockerhub-description.yml +++ b/.github/workflows/dockerhub-description.yml @@ -15,7 +15,7 @@ name: Docker Description Publish on: push: - branches: [ "main" ] + branches: ["main"] permissions: read-all jobs: setup-matrix: @@ -23,10 +23,10 @@ jobs: outputs: matrix: ${{ steps.set-matrix.outputs.matrix }} steps: - - uses: actions/checkout@v4 - - name: Set matrix data - id: set-matrix - run: echo "matrix=$(jq -c . < .github/dockerhub-readmes.json)" >> $GITHUB_OUTPUT + - uses: actions/checkout@v4 + - name: Set matrix data + id: set-matrix + run: echo "matrix=$(jq -c . < .github/dockerhub-readmes.json)" >> $GITHUB_OUTPUT publish-dockerhub-description: runs-on: ubuntu-latest needs: setup-matrix @@ -34,10 +34,10 @@ jobs: matrix: ${{ fromJson(needs.setup-matrix.outputs.matrix) }} fail-fast: false steps: - - uses: actions/checkout@v4 - - uses: peter-evans/dockerhub-description@v4 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_PASSWORD }} - repository: ${{ matrix.readmes.repo-name }} - readme-filepath: ${{ matrix.readmes.fname }} + - uses: actions/checkout@v4 + - uses: peter-evans/dockerhub-description@v4 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_PASSWORD }} + repository: ${{ matrix.readmes.repo-name }} + readme-filepath: ${{ matrix.readmes.fname }} diff --git a/.github/workflows/scorecard.yaml b/.github/workflows/scorecard.yaml index b56ec2ec0..240202a41 100644 --- a/.github/workflows/scorecard.yaml +++ b/.github/workflows/scorecard.yaml @@ -20,9 +20,9 @@ name: Scorecard supply-chain security on: branch_protection_rule: schedule: - - cron: '0 6 * * 0' + - cron: '0 6 * * 0' push: - branches: [ "main" ] + branches: ["main"] workflow_dispatch: permissions: read-all jobs: @@ -35,20 +35,20 @@ jobs: contents: read actions: read steps: - - uses: actions/checkout@v4 - with: - persist-credentials: false - - uses: ossf/scorecard-action@v2.3.3 - with: - results_file: results.sarif - results_format: sarif - repo_token: ${{ secrets.ACTION_TOKEN }} - publish_results: true - - uses: actions/upload-artifact@v4 - with: - name: SARIF file - path: results.sarif - retention-days: 5 - - uses: github/codeql-action/upload-sarif@v3.25.3 - with: - sarif_file: results.sarif + - uses: actions/checkout@v4 + with: + persist-credentials: false + - uses: ossf/scorecard-action@v2.3.3 + with: + results_file: results.sarif + results_format: sarif + repo_token: ${{ secrets.ACTION_TOKEN }} + publish_results: true + - uses: actions/upload-artifact@v4 + with: + name: SARIF file + path: results.sarif + retention-days: 5 + - uses: github/codeql-action/upload-sarif@v3.25.3 + with: + sarif_file: results.sarif diff --git a/.github/workflows/weekly-test.yaml b/.github/workflows/weekly-test.yaml index 3e943d4f5..c704e1e38 100644 --- a/.github/workflows/weekly-test.yaml +++ b/.github/workflows/weekly-test.yaml @@ -15,7 +15,7 @@ name: Weekly Tests on: schedule: - - cron: "0 0 * * 0" + - cron: "0 0 * * 0" workflow_dispatch: null permissions: read-all jobs: @@ -24,18 +24,18 @@ jobs: outputs: groups: ${{ steps.group-list.outputs.FOLDERS }} steps: - - uses: actions/checkout@v4 - - name: Output Group Directories - id: group-list - run: | - DOCKER_COMPOSE_PATHS=() - for path in $(find . -name 'docker-compose.yaml'); do - DIR_PATH=$(dirname "$path") - DOCKER_COMPOSE_PATHS+=("${DIR_PATH:2}") - done - # Convert the array to a JSON array - DOCKER_COMPOSE_PATHS_JSON=$(printf '%s\n' "${DOCKER_COMPOSE_PATHS[@]}" | uniq | jq -R '.' | jq -sc '.') - echo "FOLDERS=$DOCKER_COMPOSE_PATHS_JSON" >> $GITHUB_OUTPUT + - uses: actions/checkout@v4 + - name: Output Group Directories + id: group-list + run: | + DOCKER_COMPOSE_PATHS=() + for path in $(find . -name 'docker-compose.yaml'); do + DIR_PATH=$(dirname "$path") + DOCKER_COMPOSE_PATHS+=("${DIR_PATH:2}") + done + # Convert the array to a JSON array + DOCKER_COMPOSE_PATHS_JSON=$(printf '%s\n' "${DOCKER_COMPOSE_PATHS[@]}" | uniq | jq -R '.' | jq -sc '.') + echo "FOLDERS=$DOCKER_COMPOSE_PATHS_JSON" >> $GITHUB_OUTPUT pipeline-ci: needs: [get-groups] strategy: diff --git a/pytorch/requirements.txt b/pytorch/requirements.txt index 506a23269..c7d79c1b6 100644 --- a/pytorch/requirements.txt +++ b/pytorch/requirements.txt @@ -4,4 +4,3 @@ torchaudio==2.3.0 -f https://download.pytorch.org/whl/cpu/torch_stable.html intel_extension_for_pytorch==2.3.0+cpu --extra-index-url https://developer.intel.com/ipex-whl-stable-cpu -# test