Skip to content

Commit 67e9df2

Browse files
committed
chore(lint): simplify build
1 parent 2da2124 commit 67e9df2

File tree

2 files changed

+0
-27
lines changed

2 files changed

+0
-27
lines changed

.github/workflows/publish.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -94,27 +94,13 @@ jobs:
9494
- name: Install dependencies with mypyc extras
9595
run: uv sync --extra mypyc --group build
9696

97-
- name: Set version to include mypyc suffix
98-
run: |
99-
CURRENT_VERSION=$(grep '^version = ' pyproject.toml | head -1 | cut -d'"' -f2)
100-
sed -i.bak 's/version = "'"$CURRENT_VERSION"'"/version = "'"$CURRENT_VERSION"'+mypyc"/' pyproject.toml
101-
shell: bash
102-
103-
- name: Set up MyPyC environment variables
104-
run: |
105-
echo "MYPYC_OPT_LEVEL=3" >> $GITHUB_ENV
106-
echo "MYPYC_DEBUG_LEVEL=0" >> $GITHUB_ENV
107-
echo "MYPYC_MULTI_FILE=1" >> $GITHUB_ENV
108-
shell: bash
109-
11097
- name: Build MyPyC wheel
11198
run: uv build --wheel
11299
env:
113100
HATCH_BUILD_HOOKS_ENABLE: "1"
114101
MYPYC_OPT_LEVEL: "3"
115102
MYPYC_DEBUG_LEVEL: "0"
116103
MYPYC_MULTI_FILE: "1"
117-
shell: bash
118104

119105
- name: Upload mypyc wheel artifacts
120106
uses: actions/upload-artifact@v4

.github/workflows/test-build.yml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -105,19 +105,6 @@ jobs:
105105
- name: Install dependencies with mypyc extras
106106
run: uv sync --extra mypyc --group build
107107

108-
- name: Set version to include mypyc suffix
109-
run: |
110-
CURRENT_VERSION=$(grep '^version = ' pyproject.toml | head -1 | cut -d'"' -f2)
111-
sed -i.bak 's/version = "'"$CURRENT_VERSION"'"/version = "'"$CURRENT_VERSION"'+mypyc"/' pyproject.toml
112-
shell: bash
113-
114-
- name: Set up MyPyC environment variables
115-
run: |
116-
echo "MYPYC_OPT_LEVEL=3" >> $GITHUB_ENV
117-
echo "MYPYC_DEBUG_LEVEL=0" >> $GITHUB_ENV
118-
echo "MYPYC_MULTI_FILE=1" >> $GITHUB_ENV
119-
shell: bash
120-
121108
- name: Build MyPyC wheel
122109
run: uv build --wheel
123110
env:

0 commit comments

Comments
 (0)