Skip to content

Commit

Permalink
test: temporarily switch to absolute action paths for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
awownysz-splunk committed Dec 11, 2023
1 parent 1d1f9ef commit c0c7a14
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/reusable-lightweight.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
statuses: write
steps:
- name: Run title validation
uses: ./.github/actions/validate-pr-title
uses: splunk/addonfactory-workflow-addon-release/.github/actions/validate-pr-title@ci/lightweight-workflow-ADDON-66448
with:
GITHUB_TOKEN: ${{ github.token }}

Expand All @@ -72,7 +72,7 @@ jobs:
steps:
- name: Run meta preparation
id: meta
uses: ./.github/actions/meta
uses: splunk/addonfactory-workflow-addon-release/.github/actions/meta@ci/lightweight-workflow-ADDON-66448
with:
SA_GH_USER_NAME: ${{ secrets.SA_GH_USER_NAME }}
SA_GH_USER_EMAIL: ${{ secrets.SA_GH_USER_EMAIL }}
Expand All @@ -84,7 +84,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Run FOSSA scan
uses: ./.github/actions/fossa-scan
uses: splunk/addonfactory-workflow-addon-release/.github/actions/fossa-scan@ci/lightweight-workflow-ADDON-66448
with:
FOSSA_API_KEY: ${{ secrets.FOSSA_API_KEY }}

Expand All @@ -95,7 +95,7 @@ jobs:
- fossa-scan
steps:
- name: Run FOSSA test
uses: ./.github/actions/fossa-test
uses: splunk/addonfactory-workflow-addon-release/.github/actions/fossa-test@ci/lightweight-workflow-ADDON-66448
with:
FOSSA_API_KEY: ${{ secrets.FOSSA_API_KEY }}

Expand All @@ -104,28 +104,28 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Run compliance copyrights
uses: ./.github/actions/compliance-copyrights
uses: splunk/addonfactory-workflow-addon-release/.github/actions/compliance-copyrights@ci/lightweight-workflow-ADDON-66448

lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Run linting checks
uses: ./.github/actions/lint
uses: splunk/addonfactory-workflow-addon-release/.github/actions/lint@ci/lightweight-workflow-ADDON-66448

review-secrets:
name: Review secrets
runs-on: ubuntu-latest
steps:
- name: Run secrets review
uses: ./.github/actions/review-secrets
uses: splunk/addonfactory-workflow-addon-release/.github/actions/review-secrets@ci/lightweight-workflow-ADDON-66448

semgrep:
name: Semgrep security check
runs-on: ubuntu-latest
steps:
- name: Run semgrep
uses: ./.github/actions/semgrep
uses: splunk/addonfactory-workflow-addon-release/.github/actions/semgrep@ci/lightweight-workflow-ADDON-66448
with:
SEMGREP_PUBLISH_TOKEN: ${{ secrets.SEMGREP_PUBLISH_TOKEN }}

Expand All @@ -140,7 +140,7 @@ jobs:
steps:
- name: Run test inventory check
id: test-inventory
uses: ./.github/actions/test-inventory
uses: splunk/addonfactory-workflow-addon-release/.github/actions/test-inventory@ci/lightweight-workflow-ADDON-66448

# Two separate unit test jobs needed as jobs that depend on unit-test success can't proceed
# if any matrix job fails. Currently python 3.9 may fail as it's not supported in all TAs.
Expand All @@ -162,7 +162,7 @@ jobs:
steps:
- name: Run unit tests for python 3.7
id: unit-tests-3_7
uses: ./.github/actions/unit-tests
uses: splunk/addonfactory-workflow-addon-release/.github/actions/unit-tests@ci/lightweight-workflow-ADDON-66448
with:
python_version: '3.7'
GH_TOKEN_ADMIN: ${{ secrets.GH_TOKEN_ADMIN }}
Expand All @@ -184,7 +184,7 @@ jobs:
steps:
- name: Run unit tests for python 3.9
id: unit-tests-3_9
uses: ./.github/actions/unit-tests
uses: splunk/addonfactory-workflow-addon-release/.github/actions/unit-tests@ci/lightweight-workflow-ADDON-66448
with:
python_version: '3.9'
GH_TOKEN_ADMIN: ${{ secrets.GH_TOKEN_ADMIN }}
Expand Down Expand Up @@ -212,7 +212,7 @@ jobs:
packages: read
steps:
- name: Run build
uses: ./.github/actions/build
uses: splunk/addonfactory-workflow-addon-release/.github/actions/build@ci/lightweight-workflow-ADDON-66448
with:
python_version: ${{ matrix.python-version }}
SA_GH_USER_NAME: ${{ secrets.SA_GH_USER_NAME }}
Expand All @@ -231,7 +231,7 @@ jobs:
if: ${{ !cancelled() && needs.build.result == 'success' }}
steps:
- name: Run VirusTotal check
uses: ./.github/actions/virustotal
uses: splunk/addonfactory-workflow-addon-release/.github/actions/virustotal@ci/lightweight-workflow-ADDON-66448
with:
VT_API_KEY: ${{ secrets.VT_API_KEY }}

Expand All @@ -251,7 +251,7 @@ jobs:
checks: write
steps:
- name: Run requirements unit tests
uses: ./.github/actions/requirements-unit-tests
uses: splunk/addonfactory-workflow-addon-release/.github/actions/requirements-unit-tests@ci/lightweight-workflow-ADDON-66448

appinspect-cli:
name: AppInspect CLI ${{ matrix.tags }}
Expand All @@ -272,7 +272,7 @@ jobs:
- "manual"
steps:
- name: Run appinspect CLI
uses: ./.github/actions/appinspect-cli
uses: splunk/addonfactory-workflow-addon-release/.github/actions/appinspect-cli@ci/lightweight-workflow-ADDON-66448
with:
matrix_tags: ${{ matrix.tags }}

Expand All @@ -288,6 +288,6 @@ jobs:
packages: write
steps:
- name: Run artifact registry
uses: ./.github/actions/artifact-registry
uses: splunk/addonfactory-workflow-addon-release/.github/actions/artifact-registry@ci/lightweight-workflow-ADDON-66448
with:
sc4s: ${{ needs.meta.outputs.sc4s }}

0 comments on commit c0c7a14

Please sign in to comment.