diff --git a/.github/workflows/coverage.yaml b/.github/workflows/coverage.yaml index d09107fc..aa2eca3a 100644 --- a/.github/workflows/coverage.yaml +++ b/.github/workflows/coverage.yaml @@ -36,10 +36,6 @@ jobs: uses: actions/checkout@v4 with: submodules: true - - name: Install rust toolchain - uses: actions-rs/toolchain@v1 - with: - components: rustfmt, clippy - name: Cache uses: actions/cache@v4 with: diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index a492f6cd..0e0a4bd5 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -40,7 +40,6 @@ jobs: args: --out dist - name: "Test sdist" run: | - rustup default $(cat rust-toolchain) pip install dist/${{ env.PACKAGE_NAME }}-*.tar.gz --force-reinstall sg --help - name: "Upload sdist" @@ -181,7 +180,7 @@ jobs: - macos-x86_64 - windows - linux - # - linux-cross I would want to support linux-cross but it is too hard for me to compile c projects for tree-sitter-languages + # - linux-cross I would want to support linux-cross but it is too hard for me to compile c projects for tree-sitter-languages # If you don't set release flag, it's a dry run (no uploads). if: "startsWith(github.event.ref, 'refs/tags') || inputs.need_release" environment: diff --git a/rust-toolchain b/rust-toolchain deleted file mode 100644 index 2bf5ad04..00000000 --- a/rust-toolchain +++ /dev/null @@ -1 +0,0 @@ -stable diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 00000000..02d090fe --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,3 @@ +[toolchain] +channel = "stable" +components = ["rustfmt", "clippy"] \ No newline at end of file