File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM mcr.microsoft.com/devcontainers/python:3.8
1+ FROM mcr.microsoft.com/devcontainers/python:3.8@sha256:13822a0e211e5b99816ce3f44f064ee385f7679eb407f901f19ed5328ad557d0
22
33RUN \
44 pipx uninstall mypy \
Original file line number Diff line number Diff line change @@ -53,11 +53,11 @@ jobs:
5353 # your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
5454 steps :
5555 - name : Checkout repository
56- uses : actions/checkout@v4
56+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
5757
5858 # Initializes the CodeQL tools for scanning.
5959 - name : Initialize CodeQL
60- uses : github/codeql-action/init@v3
60+ uses : github/codeql-action/init@4e828ff8d448a8a6e532957b1811f387a63867e8 # v3
6161 with :
6262 languages : ${{ matrix.language }}
6363 build-mode : ${{ matrix.build-mode }}
8484 exit 1
8585
8686 - name : Perform CodeQL Analysis
87- uses : github/codeql-action/analyze@v3
87+ uses : github/codeql-action/analyze@4e828ff8d448a8a6e532957b1811f387a63867e8 # v3
8888 with :
8989 category : " /language:${{matrix.language}}"
Original file line number Diff line number Diff line change 77 name : Build distribution 📦
88 runs-on : ubuntu-latest
99 steps :
10- - uses : actions/checkout@v4
10+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
1111
1212 - name : Set up Python
13- uses : actions/setup-python@v5
13+ uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
1414 with :
1515 python-version : " 3.x"
1616
2222 run : hatch build
2323
2424 - name : Store the distribution packages
25- uses : actions/upload-artifact@v4
25+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
2626 with :
2727 name : python-package-distributions
2828 path : dist/
4040 id-token : write # IMPORTANT: mandatory for trusted publishing
4141 steps :
4242 - name : Download all the dists
43- uses : actions/download-artifact@v4
43+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
4444 with :
4545 name : python-package-distributions
4646 path : dist/
Original file line number Diff line number Diff line change @@ -19,10 +19,10 @@ jobs:
1919 - ' 3.11'
2020 - ' 3.12'
2121 steps :
22- - uses : actions/checkout@v4
22+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
2323
2424 - name : Setup Python
25- uses : actions/setup-python@v5
25+ uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
2626 with :
2727 python-version : " ${{matrix.python-version}}"
2828 cache : " pip"
3535 env :
3636 PYTHONDEVMODE : 1
3737
38- - uses : codecov/codecov-action@v4
38+ - uses : codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4
3939 with :
4040 name : " build-${{ matrix.python-version }}"
4141 fail_ci_if_error : true
You can’t perform that action at this time.
0 commit comments