Skip to content

Commit

Permalink
ci: update appinspect CLI action version
Browse files Browse the repository at this point in the history
  • Loading branch information
awownysz-splunk committed Dec 12, 2023
1 parent a689ad5 commit 6c311de
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/actions/appinspect-cli/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ runs:
path: build/package/

- name: Scan
uses: splunk/appinspect-cli-action@v1.9
uses: splunk/appinspect-cli-action@v1.12
with:
app_path: build/package/
included_tags: ${{ inputs.matrix_tags }}
Expand Down
2 changes: 0 additions & 2 deletions .github/actions/unit-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ name: Run unit tests
inputs:
python_version:
required: true
GH_USER_ADMIN:
required: true
GH_TOKEN_ADMIN:
required: true

Expand Down
11 changes: 3 additions & 8 deletions .github/workflows/reusable-build-test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ on:
GH_TOKEN_ADMIN:
description: Github admin token
required: true
GH_USER_ADMIN:
description: Github admin user
required: true
SEMGREP_PUBLISH_TOKEN:
description: Semgrep token
required: true
Expand Down Expand Up @@ -335,7 +332,7 @@ jobs:
# TODO: group these jobs into the matrix once python 3.9 is supported

run-unit-tests-3_7:
name: Unit tests
name: Unit tests python 3.7
if: ${{ needs.test-inventory.outputs.unit == 'true' }}
runs-on: ubuntu-latest
needs:
Expand All @@ -353,11 +350,10 @@ jobs:
uses: ./.github/actions/unit-tests
with:
python_version: '3.7'
GH_USER_ADMIN: ${{ secrets.GH_USER_ADMIN }}
GH_TOKEN_ADMIN: ${{ secrets.GH_TOKEN_ADMIN }}

run-unit-tests-3_9:
name: Unit tests
name: Unit tests python 3.9
if: ${{ needs.test-inventory.outputs.unit == 'true' }}
runs-on: ubuntu-latest
continue-on-error: true
Expand All @@ -373,10 +369,9 @@ jobs:
steps:
- name: Run unit tests for python 3.9
id: unit-tests-3_9
uses: ./.github/actions/unit-tests
uses: ./.github/actions/unit-tests
with:
python_version: '3.9'
GH_USER_ADMIN: ${{ secrets.GH_USER_ADMIN }}
GH_TOKEN_ADMIN: ${{ secrets.GH_TOKEN_ADMIN }}

build:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/reusable-lightweight.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ jobs:
uses: ./.github/actions/unit-tests
with:
python_version: '3.7'
GH_USER_ADMIN: ${{ secrets.GH_USER_ADMIN }}
GH_TOKEN_ADMIN: ${{ secrets.GH_TOKEN_ADMIN }}

run-unit-tests-3_9:
Expand All @@ -188,7 +187,6 @@ jobs:
uses: ./.github/actions/unit-tests
with:
python_version: '3.9'
GH_USER_ADMIN: ${{ secrets.GH_USER_ADMIN }}
GH_TOKEN_ADMIN: ${{ secrets.GH_TOKEN_ADMIN }}

build:
Expand Down

0 comments on commit 6c311de

Please sign in to comment.