File tree Expand file tree Collapse file tree 3 files changed +34
-8
lines changed
Expand file tree Collapse file tree 3 files changed +34
-8
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ - package-ecosystem : " uv"
4+ directory : " /"
5+ schedule :
6+ interval : " weekly"
7+
8+ - package-ecosystem : " github-actions"
9+ directory : " /"
10+ schedule :
11+ interval : " weekly"
12+ groups :
13+ actions :
14+ patterns :
15+ - " *"
Original file line number Diff line number Diff line change 1414 docker-test :
1515 runs-on : ubuntu-latest
1616 steps :
17- - uses : actions/checkout@v4
17+ - uses : actions/checkout@v6
1818 - name : Install uv
19- uses : astral-sh/setup-uv@v5
19+ uses : astral-sh/setup-uv@v7
2020 - name : Set up Python
2121 run : uv python install 3.11
2222 - name : Install dependencies
3434 - name : Checkout code
3535 uses : actions/checkout@v6
3636
37+ - name : Install uv
38+ uses : astral-sh/setup-uv@v7
39+
40+ - name : Get version from pyproject.toml
41+ id : version
42+ run : |
43+ VERSION=$(uv version --short)
44+ echo "version=$VERSION" >> $GITHUB_OUTPUT
45+ echo "major=$(echo $VERSION | cut -d. -f1)" >> $GITHUB_OUTPUT
46+ echo "minor=$(echo $VERSION | cut -d. -f1-2)" >> $GITHUB_OUTPUT
47+
3748 - name : Set up Docker Buildx
3849 uses : docker/setup-buildx-action@v3
3950
5364 type=ref,event=pr
5465 type=sha,prefix=sha-
5566 type=raw,value=latest,enable={{is_default_branch}}
56- type=raw,value=v1
57- type=raw,value=v1.0
58- type=raw,value=v1.0.0
67+ type=raw,value=v${{ steps.version.outputs.major }}
68+ type=raw,value=v${{ steps.version.outputs.minor }}
69+ type=raw,value=v${{ steps.version.outputs.version }}
5970
6071 - name : Build and push Docker image
6172 uses : docker/build-push-action@v6
Original file line number Diff line number Diff line change 2727 ports :
2828 - 127.0.0.1:6379:6379
2929 steps :
30- - uses : actions/checkout@v4
30+ - uses : actions/checkout@v6
3131 - name : Install uv
32- uses : astral-sh/setup-uv@v5
32+ uses : astral-sh/setup-uv@v7
3333 - name : Set up Python
3434 run : uv python install ${{ matrix.python-version }}
3535 - name : Install dependencies
4242 run : |
4343 NO_COLOR=true uv run pytest --reruns 2 --disable-warnings --log-cli-level=INFO --cov-report xml:cov.xml --cov=bbot_server .
4444 - name : Upload Code Coverage
45- uses : codecov/codecov-action@v3
45+ uses : codecov/codecov-action@v5
4646 with :
4747 token : ${{ secrets.CODECOV_TOKEN }}
4848 files : ./cov.xml
You can’t perform that action at this time.
0 commit comments