Skip to content

Commit 7f4e1f2

Browse files
committed
Change install command for taplo
1 parent 2917c6b commit 7f4e1f2

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
lint-rust:
4545
runs-on: ubuntu-latest
4646
steps:
47-
- uses: actions/checkout@v4
47+
- uses: actions/checkout@v6
4848

4949
- name: Setup Rust
5050
uses: dtolnay/rust-toolchain@stable
@@ -64,7 +64,7 @@ jobs:
6464
lint-python:
6565
runs-on: ubuntu-latest
6666
steps:
67-
- uses: actions/checkout@v4
67+
- uses: actions/checkout@v6
6868

6969
- name: Install Python
7070
uses: actions/setup-python@v5
@@ -90,21 +90,19 @@ jobs:
9090
lint-toml:
9191
runs-on: ubuntu-latest
9292
steps:
93-
- uses: actions/checkout@v4
93+
- uses: actions/checkout@v6
9494

9595
- name: Install taplo
96-
run: |
97-
curl -fsSL https://github.com/tamasfe/taplo/releases/latest/download/taplo-full-linux-x86_64.gz \
98-
| gunzip > /usr/local/bin/taplo
99-
chmod +x /usr/local/bin/taplo
96+
run: cargo +stable install taplo-cli --version ^0.9 --locked
10097

101-
- name: Check TOML formatting
102-
run: taplo fmt --check
98+
# if you encounter an error, try running 'taplo format' to fix the formatting automatically.
99+
- name: Check Cargo.toml formatting
100+
run: taplo format --check
103101

104102
generate-license:
105103
runs-on: ubuntu-latest
106104
steps:
107-
- uses: actions/checkout@v4
105+
- uses: actions/checkout@v6
108106

109107
- uses: astral-sh/setup-uv@v6
110108
with:

0 commit comments

Comments
 (0)