mirror of
https://github.com/ast-grep/ast-grep.git
synced 2026-05-06 06:06:46 -04:00
chore: Switch to rust-toolchain.toml
Signed-off-by: Xuanwo <github@xuanwo.io>
This commit is contained in:
committed by
Herrington Darkholme
parent
b11fc3fb23
commit
537599c265
@@ -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:
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
stable
|
||||
@@ -0,0 +1,3 @@
|
||||
[toolchain]
|
||||
channel = "stable"
|
||||
components = ["rustfmt", "clippy"]
|
||||
Reference in New Issue
Block a user