Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pyproject.toml #754

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .devcontainer/devcontainer-lock.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"features": {
"ghcr.io/devcontainers-contrib/features/fish-apt-get:1": {
"version": "1.0.3",
"resolved": "ghcr.io/devcontainers-contrib/features/fish-apt-get@sha256:f9df986f56634ef9a17a5003459de3bd4d958690f91bc0151267ed74c1353ef0",
"integrity": "sha256:f9df986f56634ef9a17a5003459de3bd4d958690f91bc0151267ed74c1353ef0"
},
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {
"version": "1.6.0",
"resolved": "ghcr.io/devcontainers/features/docker-outside-of-docker@sha256:63dc56535ecaed989f2e6c8ca04acb5012999cd0e19f125504350b2e075b0c2c",
"integrity": "sha256:63dc56535ecaed989f2e6c8ca04acb5012999cd0e19f125504350b2e075b0c2c"
},
"ghcr.io/devcontainers/features/node:1": {
"version": "1.6.1",
"resolved": "ghcr.io/devcontainers/features/node@sha256:71590121aaf7b2040f3e1e2dfc4bb9a1389277fd5a88a7199094542b82ce5340",
"integrity": "sha256:71590121aaf7b2040f3e1e2dfc4bb9a1389277fd5a88a7199094542b82ce5340"
},
"ghcr.io/devcontainers/features/rust:1": {
"version": "1.3.1",
"resolved": "ghcr.io/devcontainers/features/rust@sha256:2f9cfd1fda3ab3a8839760f1854ec5909aade2e95a7acc0bc3cb90bc8af4b810",
"integrity": "sha256:2f9cfd1fda3ab3a8839760f1854ec5909aade2e95a7acc0bc3cb90bc8af4b810"
}
}
}
19 changes: 19 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/ubuntu
{
"name": "Ubuntu",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/base:noble",
"features": {
"ghcr.io/devcontainers-contrib/features/fish-apt-get:1": {},
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {},
"ghcr.io/devcontainers/features/node:1": {},
"ghcr.io/devcontainers/features/rust:1": {
"version": "latest",
"profile": "complete",
"targets": "wasm32-unknown-unknown"
},
}
// Configure tool-specific properties.
// "customizations": {},
}
10 changes: 7 additions & 3 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
target
docker
.github
.vscode
.lapce
.vscode
docker
editors
js
scripts
site
target
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
- name: Install latest Rust toolchain
run: |
rustup update --no-self-update
rustup default 1.70
rustup default 1.74
- uses: Swatinem/rust-cache@v2
- name: Test MSRV for taplo
run: |
Expand All @@ -111,7 +111,7 @@ jobs:
- name: Install latest Rust toolchain
run: |
rustup update --no-self-update
rustup default 1.70
rustup default 1.74
- uses: Swatinem/rust-cache@v2
- name: Test taplo-cli
run: |
Expand Down
14 changes: 11 additions & 3 deletions .github/workflows/releases.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -330,8 +330,16 @@ jobs:
PUSH: ${{ github.event_name == 'push' }}
run: |
docker buildx bake
- name: Rename
run: |
- run: |
mkdir -p ./target/wheels
mv ./target/alpine/linux_*/taplo*.whl ./target/wheels/
- uses: actions/upload-artifact@v4
with:
name: wheels-musl
path: |
./target/wheels/*
retention-days: 1
- run: |
cd ./target/alpine
mv ./linux_386/taplo ./linux_386/taplo-x86
mv ./linux_amd64/taplo ./linux_amd64/taplo-x86_64
Expand Down Expand Up @@ -481,7 +489,7 @@ jobs:

pypi_test_taplo_cli:
name: Test python wheels
needs: ["pypi_build_taplo_cli"]
needs: ["pypi_build_taplo_cli", "build_cli_linux_musl"]
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand Down
Loading