Skip to content

Commit 248228d

Browse files
authored
fix(deps): use python-3.12
* Use Python 3.12. * Remove Rust. Speed up by avoiding aiofiles. * Clean up Dockerfile. * Update CI configuration.
1 parent d2e40a2 commit 248228d

11 files changed

+859
-1236
lines changed

.dockerignore

-1
This file was deleted.

.github/workflows/ci.yml

+14-10
Original file line numberDiff line numberDiff line change
@@ -17,41 +17,45 @@ jobs:
1717
if: github.event_name == 'pull_request'
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121
with:
2222
fetch-depth: 0
23-
- uses: wagoid/commitlint-github-action@v5
23+
- name: Commitlint
24+
uses: wagoid/commitlint-github-action@v6
2425
build:
2526
runs-on: ubuntu-22.04
2627
steps:
2728
- name: Checkout
2829
uses: actions/checkout@v3
2930
- name: Build
30-
run: docker build .
31+
run: docker build --target base .
3132
test:
3233
runs-on: ubuntu-22.04
3334
steps:
3435
- name: Checkout
35-
uses: actions/checkout@v3
36-
- name: Build and Test
37-
uses: docker/build-push-action@v4
36+
uses: actions/checkout@v4
37+
- name: Build
38+
id: build-push
39+
uses: docker/build-push-action@v5
3840
with:
3941
context: .
4042
load: true
4143
tags: ${{ env.TEST_TAG }}
4244
target: test
45+
- name: Test
46+
run: docker run ${{ env.TEST_TAG }}
4347
release:
4448
runs-on: ubuntu-22.04
4549
if: github.event_name == 'push'
4650
steps:
4751
- name: Checkout
48-
uses: actions/checkout@v3
52+
uses: actions/checkout@v4
4953
- name: Setup NodeJS
50-
uses: actions/setup-node@v3
54+
uses: actions/setup-node@v4
5155
with:
52-
node-version: 16
56+
node-version: 20
5357
- name: Install semantic-release
54-
run: npm i semantic-release@v18.0.0 conventional-changelog-conventionalcommits@4.6.1
58+
run: npm i semantic-release@v23.0.0 conventional-changelog-conventionalcommits@8.0.0
5559
- name: Release
5660
env:
5761
GITHUB_USERNAME: ${{ secrets.GH_USERNAME }}

.pre-commit-config.yaml

-5
This file was deleted.

Cargo.lock

-263
This file was deleted.

Cargo.toml

-13
This file was deleted.

0 commit comments

Comments
 (0)