@@ -37,33 +37,33 @@ jobs:
3737 uses : actions/setup-python@v5
3838 with :
3939 python-version : ${{ env.PYTHON_VERSION }}
40- cache : pip
41- cache-dependency-path : |
42- requirements.txt
40+ # cache: pip
41+ # cache-dependency-path: |
42+ # requirements.txt
4343
4444 - name : Debug
4545 run : |
4646 env | sort -f
4747 ls -lart
4848
49- - name : Get pip cache dir
50- run : |
51- os_version=$(cat /etc/os-release | grep -i "version=" | cut -c9- | tr -d '"' | tr ' ' '_')
52- github_workflow_full_path="${GITHUB_WORKFLOW_REF%@*}"
53- python_full_version=$(python -c 'import platform; print(platform.python_version())')
54- node_major_version=$(node --version | cut -d'.' -f1 | tr -d 'v')
55- echo "os_version=$os_version" >> $GITHUB_ENV
56- echo "github_workflow_full_path=$github_workflow_full_path" >> $GITHUB_ENV
57- echo "python_full_version=$python_full_version" >> $GITHUB_ENV
58- echo "PIP_CACHE_DIR=$(pip cache dir)" >> $GITHUB_ENV
59-
60- - name : cache pip
61- uses : actions/cache@v4
62- with :
63- path : |
64- ${{ env.pythonLocation }}
65- .cache/plugin/git-committers/
66- key : ${{ env.github_workflow_full_path}}-${{ env.os_version }}-${{ env.python_full_version }}-${{ env.node_major_version}}-${{ hashFiles('requirements.txt') }}
49+ # - name: Get pip cache dir
50+ # run: |
51+ # os_version=$(cat /etc/os-release | grep -i "version=" | cut -c9- | tr -d '"' | tr ' ' '_')
52+ # github_workflow_full_path="${GITHUB_WORKFLOW_REF%@*}"
53+ # python_full_version=$(python -c 'import platform; print(platform.python_version())')
54+ # node_major_version=$(node --version | cut -d'.' -f1 | tr -d 'v')
55+ # echo "os_version=$os_version" >> $GITHUB_ENV
56+ # echo "github_workflow_full_path=$github_workflow_full_path" >> $GITHUB_ENV
57+ # echo "python_full_version=$python_full_version" >> $GITHUB_ENV
58+ # echo "PIP_CACHE_DIR=$(pip cache dir)" >> $GITHUB_ENV
59+
60+ # - name: cache pip
61+ # uses: actions/cache@v4
62+ # with:
63+ # path: |
64+ # ${{ env.pythonLocation }}
65+ # .cache/plugin/git-committers/
66+ # key: ${{ env.github_workflow_full_path}}-${{ env.os_version }}-${{ env.python_full_version }}-${{ env.node_major_version}}-${{ hashFiles('requirements.txt') }}
6767
6868 # - name: Set up build cache
6969 # uses: actions/cache/restore@v3
@@ -73,12 +73,24 @@ jobs:
7373 # restore-keys: |
7474 # mkdocs-material-
7575
76- - name : Install dependencies
76+ - name : Install os dependencies
7777 run : sudo apt-get install pngquant
7878
79- - name : Install Python dependencies
80- run : |
81- make ci-install
79+ - name : Install uv
80+ uses : astral-sh/setup-uv@v6
81+ with :
82+ enable-cache : true
83+ cache-dependency-glob : |
84+ **/pyproject.toml
85+
86+ # run: uv sync --frozen --all-extras --dev --verbose
87+ - name : Install Requirements
88+ run : uv sync --frozen --no-dev --verbose --system
89+ working-directory : ${{ github.workspace }}
90+
91+ # - name: Install Python dependencies
92+ # run: |
93+ # make ci-install
8294
8395 - name : Remove future-dated markdown files
8496 run : |
0 commit comments