File tree Expand file tree Collapse file tree 5 files changed +20
-20
lines changed
Expand file tree Collapse file tree 5 files changed +20
-20
lines changed Original file line number Diff line number Diff line change @@ -10,16 +10,16 @@ jobs:
1010 runs-on : ubuntu-latest
1111 steps :
1212 - name : Check out repo
13- uses : actions/checkout@v4
13+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
1414 - name : Set up Python
15- uses :
ni/python-actions/[email protected] 15+ uses : ni/python-actions/setup-python@e8f25e9a64426bd431ac124b83df11b76cdf60d5 # v0.1.0
1616 id : setup-python
1717 - name : Set up Poetry
18- uses :
ni/python-actions/[email protected] 18+ uses : ni/python-actions/setup-poetry@e8f25e9a64426bd431ac124b83df11b76cdf60d5 # v0.1.0
1919 - name : Check for lock changes
2020 run : poetry check --lock
2121 - name : Cache virtualenv (with docs)
22- uses : actions/cache@v4
22+ uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4
2323 with :
2424 path : .venv
2525 key : nitypes-with-docs-${{ runner.os }}-py${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('poetry.lock') }}
2828 - name : Generate docs
2929 run : poetry run sphinx-build docs docs/_build -b html -W
3030 - name : Upload docs artifact
31- uses : actions/upload-artifact@v4
31+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
3232 with :
3333 name : nitypes-docs
3434 path : docs/_build/
Original file line number Diff line number Diff line change @@ -10,16 +10,16 @@ jobs:
1010 runs-on : ubuntu-latest
1111 steps :
1212 - name : Check out repo
13- uses : actions/checkout@v4
13+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
1414 - name : Set up Python
15- uses :
ni/python-actions/[email protected] 15+ uses : ni/python-actions/setup-python@e8f25e9a64426bd431ac124b83df11b76cdf60d5 # v0.1.0
1616 id : setup-python
1717 - name : Set up Poetry
18- uses :
ni/python-actions/[email protected] 18+ uses : ni/python-actions/setup-poetry@e8f25e9a64426bd431ac124b83df11b76cdf60d5 # v0.1.0
1919 - name : Check for lock changes
2020 run : poetry check --lock
2121 - name : Cache virtualenv
22- uses : actions/cache@v4
22+ uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4
2323 with :
2424 path : .venv
2525 key : nitypes-${{ runner.os }}-py${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('poetry.lock') }}
@@ -36,12 +36,12 @@ jobs:
3636 - name : Add virtualenv to the path for pyright-action
3737 run : echo "$(poetry env info --path)/bin" >> $GITHUB_PATH
3838 - name : Pyright static analysis (Linux)
39- uses : jakebailey/pyright-action@v2
39+ uses : jakebailey/pyright-action@b5d50e5cde6547546a5c4ac92e416a8c2c1a1dfe # v2
4040 with :
4141 python-platform : Linux
4242 version : PATH
4343 - name : Pyright static analysis (Windows)
44- uses : jakebailey/pyright-action@v2
44+ uses : jakebailey/pyright-action@b5d50e5cde6547546a5c4ac92e416a8c2c1a1dfe # v2
4545 with :
4646 python-platform : Windows
4747 version : PATH
Original file line number Diff line number Diff line change @@ -15,17 +15,17 @@ jobs:
1515 runs-on : ubuntu-latest
1616 steps :
1717 - name : Check out repo
18- uses : actions/checkout@v4
18+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
1919 - name : Download test results
20- uses : actions/download-artifact@v4
20+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
2121 with :
2222 path : test_results
2323 pattern : test_results_*
2424 merge-multiple : true
2525 - name : List downloaded files
2626 run : ls -lR
2727 - name : Publish test results
28- uses : EnricoMi/publish-unit-test-result-action@v2
28+ uses : EnricoMi/publish-unit-test-result-action@afb2984f4d89672b2f9d9c13ae23d53779671984 # v2
2929 with :
3030 files : " test_results/**/*.xml"
3131 if : always()
Original file line number Diff line number Diff line change @@ -17,16 +17,16 @@ jobs:
1717 fail-fast : false
1818 steps :
1919 - name : Check out repo
20- uses : actions/checkout@v4
20+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
2121 - name : Set up Python
22- uses :
ni/python-actions/[email protected] 22+ uses : ni/python-actions/setup-python@e8f25e9a64426bd431ac124b83df11b76cdf60d5 # v0.1.0
2323 id : setup-python
2424 with :
2525 python-version : ${{ matrix.python-version }}
2626 - name : Set up Poetry
27- uses :
ni/python-actions/[email protected] 27+ uses : ni/python-actions/setup-poetry@e8f25e9a64426bd431ac124b83df11b76cdf60d5 # v0.1.0
2828 - name : Cache virtualenv
29- uses : actions/cache@v4
29+ uses : actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4
3030 with :
3131 path : .venv
3232 key : nitypes-${{ runner.os }}-py${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('poetry.lock') }}
3535 - name : Run unit tests and code coverage
3636 run : poetry run pytest ./tests/unit -v --cov=nitypes --junitxml=test_results/nitypes-${{ matrix.os }}-py${{ matrix.python-version }}.xml
3737 - name : Upload test results
38- uses : actions/upload-artifact@v4
38+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
3939 with :
4040 name : test_results_unit_${{ matrix.os }}_py${{ matrix.python-version }}
4141 path : ./test_results/*.xml
Original file line number Diff line number Diff line change 2323 else
2424 echo "work_item_type=Bug" >> $GITHUB_OUTPUT
2525 fi
26- -
uses :
danhellem/[email protected] 26+ - uses : danhellem/github-actions-issue-to-work-item@45eb3b46e684f2acd2954f02ef70350c835ee4bb # v2.4
2727 env :
2828 ado_token : " ${{ secrets.AZDO_WORK_ITEM_TOKEN }}"
2929 github_token : " ${{ secrets.GH_REPO_TOKEN }}"
You can’t perform that action at this time.
0 commit comments