@@ -28,21 +28,19 @@ jobs:
2828 with :
2929 submodules : recursive
3030
31- - name : Set up Python ${{ matrix. python-version }}
32- uses : actions /setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
31+ - name : Install uv and set the python version
32+ uses : astral-sh /setup-uv@v6
3333 with :
3434 python-version : ${{ matrix.python-version }}
35- cache : " pip"
36- allow-prereleases : true
3735
38- - name : Install hatch
39- run : pip install hatch
36+ - name : Install dependencies
37+ run : uv sync --frozen
4038
4139 - name : Test with pytest
42- run : hatch run cov
40+ run : uv run cov --frozen
4341
4442 - name : Run E2E tests with behave
45- run : hatch run e2e
43+ run : uv run e2e --frozen
4644
4745 - if : matrix.python-version == '3.13'
4846 name : Upload coverage to Codecov
@@ -59,10 +57,13 @@ jobs:
5957
6058 steps :
6159 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
62- - uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
60+ - name : Install uv and set the python version
61+ uses : astral-sh/setup-uv@v6
6362 with :
6463 python-version : " 3.13"
65- cache : " pip"
64+
65+ - name : Install dependencies
66+ run : uv sync --frozen
6667
6768 - name : Run pre-commit
6869 uses : pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
7576 security-events : write
7677 steps :
7778 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
78- - uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
79+ - name : Install uv and set the python version
80+ uses : astral-sh/setup-uv@v6
7981 with :
8082 python-version : " 3.13"
83+ ignore-nothing-to-cache : true
8184
8285 - name : Initialize CodeQL
8386 uses : github/codeql-action/init@ce28f5bb42b7a9f2c824e633a3f6ee835bab6858 # v3
0 commit comments