Skip to content

Commit 393f4be

Browse files
committed
Avoid non-official GitHub Action
1 parent 9655fb7 commit 393f4be

File tree

3 files changed

+17
-14
lines changed

3 files changed

+17
-14
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,11 @@ jobs:
4444
id: check
4545
shell: bash
4646
47-
- run: |
48-
rustup update stable
49-
rustup default stable
50-
rustup target add ${{ matrix.target }}
47+
- run: rustup update stable
48+
49+
- run: rustup default stable
50+
51+
- run: rustup target add ${{ matrix.target }}
5152

5253
- run: |
5354
SRC="target/${{ matrix.target }}/release/trf${{ steps.check.outputs.ext }}"

.github/workflows/test.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,19 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v4
1717

18-
- run: |
19-
rustup update stable
20-
rustup default stable
18+
- run: rustup update stable
19+
20+
- run: rustup default stable
2121

22-
- uses: Swatinem/rust-cache@v2
22+
- uses: actions/cache@v4
2323
with:
24-
prefix-key: 'test'
24+
path: |
25+
~/.cargo/bin/
26+
~/.cargo/registry/index/
27+
~/.cargo/registry/cache/
28+
~/.cargo/git/db/
29+
target/
30+
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
2531

2632
- run: |
2733
echo "DEEPINFRA_KEY=${{ secrets.DEEPINFRA_KEY }}" > test.env

src/main.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,7 @@ enum Commands {
3030
}
3131

3232
#[derive(Parser)]
33-
#[command(
34-
author,
35-
version,
36-
about = "Ask the Terminal Anything - Use AI in the terminal"
37-
)]
33+
#[command(author, version, about = "Multimodal AI command line interface")]
3834
struct Arguments {
3935
#[command(subcommand)]
4036
command: Commands,

0 commit comments

Comments
 (0)