Remove GH Action step names

This commit is contained in:
Gregory Schier
2024-06-09 07:16:53 -07:00
parent ac0adaf3d8
commit b30d784d06
2 changed files with 11 additions and 25 deletions

View File

@@ -20,14 +20,8 @@ jobs:
- run: | - run: |
sudo apt-get update sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.1-dev sudo apt-get install -y libwebkit2gtk-4.1-dev
- name: Install Rust - uses: dtolnay/rust-toolchain@stable
uses: actions-rs/toolchain@v1 - uses: actions/cache@v3
with:
profile: minimal
toolchain: stable
override: true
- name: Set up cargo cache
uses: actions/cache@v3
continue-on-error: false continue-on-error: false
with: with:
path: | path: |
@@ -38,7 +32,5 @@ jobs:
target/ target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo- restore-keys: ${{ runner.os }}-cargo-
- name: Lint - run: cargo check --all
run: cargo check --all - run: cargo test --all
- name: Test
run: cargo test --all

View File

@@ -22,17 +22,14 @@ jobs:
runs-on: ${{ matrix.platform }} runs-on: ${{ matrix.platform }}
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: setup node - uses: actions/setup-node@v4
uses: actions/setup-node@v4
with: with:
node-version: lts/* node-version: lts/*
- name: install Rust stable - uses: dtolnay/rust-toolchain@stable
uses: dtolnay/rust-toolchain@stable
with: with:
# Those targets are only used on macos runners so it's in an `if` to slightly speed up windows and linux builds. # Those targets are only used on macos runners so it's in an `if` to slightly speed up windows and linux builds.
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }} targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
- name: Set up cargo cache - uses: actions/cache@v3
uses: actions/cache@v3
continue-on-error: false continue-on-error: false
with: with:
path: | path: |
@@ -48,17 +45,14 @@ jobs:
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
- name: Install dependencies - run: npm ci
run: npm ci - run: |
- name: Lint and Test (JS)
run: |
npm run lint npm run lint
npm test npm test
- name: Lint and Test (Rust) - run: |
working-directory: src-tauri
run: |
cargo check --all cargo check --all
cargo test --all cargo test --all
working-directory: src-tauri
- uses: tauri-apps/tauri-action@v0 - uses: tauri-apps/tauri-action@v0
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}