File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 name : lint
1111 runs-on : ubuntu-latest
1212 steps :
13- - uses : actions/checkout@v2
14- - uses : actions/setup-python@v2
13+ - uses : actions/checkout@v3
14+ - uses : actions/setup-python@v4
15+ with :
16+ python-version : " 3.9"
1517 - name : Black Code Formatter Check
1618 uses : psf/black@stable
Original file line number Diff line number Diff line change @@ -12,15 +12,18 @@ jobs:
1212 runs-on : ubuntu-latest
1313 if : (github.event_name == 'pull_request' && github.repository == 'hyperledger/aries-cloudagent-python') || (github.event_name != 'pull_request')
1414
15+ permissions :
16+ security-events : write
17+
1518 steps :
1619 - name : Checkout repository
17- uses : actions/checkout@v2
20+ uses : actions/checkout@v3
1821
1922 # Initializes the CodeQL tools for scanning.
2023 - name : Initialize CodeQL
21- uses : github/codeql-action/init@v1
24+ uses : github/codeql-action/init@v2
2225 with :
2326 languages : python
2427
2528 - name : Perform CodeQL Analysis
26- uses : github/codeql-action/analyze@v1
29+ uses : github/codeql-action/analyze@v2
Original file line number Diff line number Diff line change 1313 if : (github.event_name == 'pull_request' && github.repository == 'hyperledger/aries-cloudagent-python') || (github.event_name != 'pull_request')
1414 steps :
1515 - name : checkout-acapy
16- uses : actions/checkout@v2
16+ uses : actions/checkout@v3
1717 with :
1818 path : acapy
1919 # - name: run-von-network
Original file line number Diff line number Diff line change 88 deploy :
99 runs-on : ubuntu-latest
1010 steps :
11- - uses : actions/checkout@v1
12- - name : Set up Python
13- uses : actions/setup-python@v1
14- with :
15- python-version : ' 3.x'
16- - name : Install dependencies
17- run : |
18- python -m pip install --upgrade pip
19- pip install setuptools wheel twine
20- - name : Build and publish
21- env :
22- TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
23- TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
24- run : |
25- python setup.py sdist bdist_wheel
26- twine upload dist/*
11+ - uses : actions/checkout@v3
12+ - name : Set up Python
13+ uses : actions/setup-python@v4
14+ with :
15+ python-version : " 3.x"
16+ - name : Install dependencies
17+ run : |
18+ python -m pip install --upgrade pip
19+ pip install setuptools wheel twine
20+ - name : Build and publish
21+ env :
22+ TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
23+ TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
24+ run : |
25+ python setup.py sdist bdist_wheel
26+ twine upload dist/*
Original file line number Diff line number Diff line change 2929 ${{ runner.os }}-buildx-test-
3030
3131 - name : Set up Docker Buildx
32- uses : docker/setup-buildx-action@v1
32+ uses : docker/setup-buildx-action@v2
3333
3434 - name : Build test image
3535 uses : docker/build-push-action@v3
You can’t perform that action at this time.
0 commit comments