@@ -41,12 +41,12 @@ jobs:
4141
4242 steps :
4343 - name : Checkout code
44- uses : actions/checkout@v7
44+ uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
4545 with :
4646 submodules : true
4747
4848 - name : Set up Python
49- uses : actions/setup-python@v7
49+ uses : actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7
5050 with :
5151 python-version : ' 3.13'
5252
5757
5858 - name : Create virtual environment and install dependencies
5959 run : |
60- uv venv .venv
61- uv pip install -e . pyinstaller
60+ uv sync --frozen --group dev
6261 shell : bash
6362
6463 - name : Activate venv (Unix)
7170 shell : pwsh
7271
7372 - name : Build binary
74- run : pyinstaller packaging/binary/ha-mcp.spec
73+ run : uv run --frozen pyinstaller packaging/binary/ha-mcp.spec
7574
7675 - name : Test binary (Linux/macOS)
7776 if : runner.os != 'Windows'
9594 mv dist/ha-mcp${{ matrix.binary_ext }} dist/${{ matrix.artifact_name }}${{ matrix.binary_ext }}
9695
9796 - name : Upload binary artifact
98- uses : actions/upload-artifact@v7
97+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
9998 with :
10099 name : ${{ matrix.artifact_name }}
101100 path : dist/${{ matrix.artifact_name }}${{ matrix.binary_ext }}
@@ -108,21 +107,21 @@ jobs:
108107
109108 steps :
110109 - name : Checkout code
111- uses : actions/checkout@v7
110+ uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
112111
113112 - name : Set up Python
114- uses : actions/setup-python@v7
113+ uses : actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7
115114 with :
116115 python-version : ' 3.13'
117116
118117 - name : Download Windows binary
119- uses : actions/download-artifact@v8
118+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
120119 with :
121120 name : ha-mcp-windows
122121 path : mcpb-bundle
123122
124123 - name : Download macOS binary
125- uses : actions/download-artifact@v8
124+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
126125 with :
127126 name : ha-mcp-macos-arm64
128127 path : mcpb-bundle
@@ -152,7 +151,7 @@ jobs:
152151 unzip -l ha-mcp.mcpb
153152
154153 - name : Upload MCPB artifact
155- uses : actions/upload-artifact@v7
154+ uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
156155 with :
157156 name : ha-mcp-mcpb
158157 path : ha-mcp.mcpb
@@ -165,10 +164,10 @@ jobs:
165164
166165 steps :
167166 - name : Checkout code
168- uses : actions/checkout@v7
167+ uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
169168
170169 - name : Download all artifacts
171- uses : actions/download-artifact@v8
170+ uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
172171 with :
173172 pattern : ha-mcp-*
174173 path : artifacts
0 commit comments