File tree Expand file tree Collapse file tree 3 files changed +15
-19
lines changed Expand file tree Collapse file tree 3 files changed +15
-19
lines changed Original file line number Diff line number Diff line change 9
9
runs-on : ubuntu-latest
10
10
steps :
11
11
- name : Checkout source
12
- uses : actions/checkout@v3
12
+ uses : actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493
13
13
- name : Set up Python
14
- uses : actions/setup-python@v4
14
+ uses : actions/setup-python@9322b3ca74000aeb2c01eb777b646334015ddd72
15
15
with :
16
16
python-version : 3.7
17
17
- name : Install dependencies
18
18
run : pip install twine
19
19
- name : Build package
20
20
run : python setup.py sdist
21
21
- name : Publish package to PyPI
22
- uses : pypa/gh-action-pypi-publish@v1.8.10
22
+ uses : pypa/gh-action-pypi-publish@d417ba7e7683fa9104c42abe611c1f2c93c0727d
23
23
with :
24
24
user : __token__
25
25
password : ${{ secrets.pypi_password }}
@@ -29,14 +29,14 @@ jobs:
29
29
run : |
30
30
rm -rf ./docs/_build
31
31
tox -e docs
32
- - name : Docs Upload
33
- uses : actions/upload-artifact@v3
32
+ - name : Docs Upload
33
+ uses : actions/upload-artifact@de65e23aa2b7e23d713bb51fbfcb6d502f8667d8
34
34
with :
35
35
name : python_sdk_docs
36
36
path : docs/_build/html
37
37
# Test upload
38
38
# - name: Publish package to TestPyPI
39
- # uses: pypa/gh-action-pypi-publish@master
39
+ # uses: pypa/gh-action-pypi-publish@d417ba7e7683fa9104c42abe611c1f2c93c0727d
40
40
# with:
41
41
# user: __token__
42
42
# password: ${{ secrets.test_pypi_password }}
Original file line number Diff line number Diff line change 1
1
name : Python CI
2
2
3
- on :
4
- [ push, workflow_dispatch ]
3
+ on : [push, workflow_dispatch]
5
4
6
5
jobs :
7
6
build :
8
-
9
7
runs-on : ${{ matrix.os }}
10
8
strategy :
11
9
matrix :
12
10
os :
13
11
- ubuntu-latest
14
- python : [ 3.9, 3.13 ]
12
+ python : [3.9, 3.13]
15
13
splunk-version :
16
14
- " 8.1"
17
15
- " 8.2"
@@ -31,13 +29,13 @@ jobs:
31
29
32
30
steps :
33
31
- name : Checkout code
34
- uses : actions/checkout@v3
32
+ uses : actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493
35
33
36
34
- name : Run docker compose
37
- run : SPLUNK_VERSION=${{matrix.splunk-version}} docker compose up -d
35
+ run : SPLUNK_VERSION=${{ matrix.splunk-version }} docker compose up -d
38
36
39
37
- name : Setup Python
40
- uses : actions/setup-python@v4
38
+ uses : actions/setup-python@9322b3ca74000aeb2c01eb777b646334015ddd72
41
39
with :
42
40
python-version : ${{ matrix.python }}
43
41
48
46
run : tox -e py
49
47
fossa-scan :
50
48
uses : splunk/oss-scanning-public/.github/workflows/oss-scan.yml@main
51
- secrets : inherit
49
+ secrets : inherit
Original file line number Diff line number Diff line change 1
- version : ' 3.6'
2
-
3
1
services :
4
2
splunk :
5
3
image : " splunk/splunk:${SPLUNK_VERSION}"
@@ -11,9 +9,9 @@ services:
11
9
- SPLUNK_PASSWORD=changed!
12
10
- SPLUNK_APPS_URL=https://github.com/splunk/sdk-app-collection/releases/download/v1.1.0/sdkappcollection.tgz
13
11
ports :
14
- - 8000:8000
15
- - 8088:8088
16
- - 8089:8089
12
+ - " 8000:8000"
13
+ - " 8088:8088"
14
+ - " 8089:8089"
17
15
healthcheck :
18
16
test : ['CMD', 'curl', '-f', 'http://localhost:8000']
19
17
interval : 5s
You can’t perform that action at this time.
0 commit comments