File tree Expand file tree Collapse file tree 2 files changed +12
-14
lines changed Expand file tree Collapse file tree 2 files changed +12
-14
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@11bd71901bbe5b1630ceea73d27597364c9af683
13
13
- name : Set up Python
14
- uses : actions/setup-python@v4
14
+ uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065
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@76f52bc884231f62b9a034ebfe128415bbaabdfc
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@ea165f8d65b6e75b540449e92b4886f43607fa02
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@76f52bc884231f62b9a034ebfe128415bbaabdfc
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@11bd71901bbe5b1630ceea73d27597364c9af683
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@a26af69be951a213d495a4c3e4e4022e16d87065
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
You can’t perform that action at this time.
0 commit comments