mirror of
https://github.com/splunk/security_content
synced 2026-06-08 17:32:49 +00:00
set step summary. update action versions
This commit is contained in:
@@ -10,11 +10,11 @@ jobs:
|
||||
# needs: [validate-tag-if-present, quit-for-dependabot]
|
||||
steps:
|
||||
- name: Check out the repository code
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: develop
|
||||
|
||||
- uses: actions/setup-python@v4
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.11' #Available versions here - https://github.com/actions/python-versions/releases easy to change/make a matrix/use pypy
|
||||
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified
|
||||
@@ -30,12 +30,12 @@ jobs:
|
||||
git pull
|
||||
git checkout ${GITHUB_REF#refs/heads/}
|
||||
contentctl test --disable-tqdm --post-test-behavior never_pause mode:changes --mode.target-branch develop
|
||||
head -n 9 test_results/summary.yml >> $GITHUB_STEP_SUMMARY
|
||||
|
||||
|
||||
continue-on-error: true
|
||||
|
||||
- name: store_artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: test-results
|
||||
path: |
|
||||
@@ -43,3 +43,7 @@ jobs:
|
||||
|
||||
- name: Print entire test_results/summary.yml
|
||||
run: cat test_results/summary.yml
|
||||
|
||||
- name: Set Step Summary
|
||||
run: head -n 9 test_results/summary.yml >> $GITHUB_STEP_SUMMARY
|
||||
|
||||
|
||||
Reference in New Issue
Block a user