diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index b107e3910..f5d02b9b4 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -62,7 +62,7 @@ jobs: version: ${{ github.event.release.tag_name }} token: ${{ secrets.WINGET_TOKEN }} - cargo-publish: + crates: name: Publish to crates.io runs-on: ubuntu-latest diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d4828c10b..4782a942f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,26 +16,27 @@ env: CARGO_TERM_COLOR: always jobs: - strategy: - matrix: - os: [ubuntu-latest, windows-latest, macOS-latest] - runs-on: ${{ matrix.os }} + CI: + strategy: + matrix: + os: [ubuntu-latest, windows-latest, macOS-latest] + runs-on: ${{ matrix.os }} - steps: - - name: Checkout - uses: actions/checkout@v4 + steps: + - name: Checkout + uses: actions/checkout@v4 - - name: Install Rust - uses: actions-rust-lang/setup-rust-toolchain@v1 + - name: Install Rust + uses: actions-rust-lang/setup-rust-toolchain@v1 - - name: Build - run: cargo build --features=fail-on-deprecated + - name: Build + run: cargo build --features=fail-on-deprecated - - name: Run tests - run: cargo test + - name: Run tests + run: cargo test - - name: Run onefetch - run: cargo run + - name: Run onefetch + run: cargo run - - name: Run onefetch (with commitgraph) - run: git commit-graph write --no-progress --reachable && cargo run + - name: Run onefetch (with commitgraph) + run: git commit-graph write --no-progress --reachable && cargo run diff --git a/.github/workflows/vercel-ci.yml b/.github/workflows/web-ci.yml similarity index 85% rename from .github/workflows/vercel-ci.yml rename to .github/workflows/web-ci.yml index 3a450a115..a085b7b9b 100644 --- a/.github/workflows/vercel-ci.yml +++ b/.github/workflows/web-ci.yml @@ -1,4 +1,4 @@ -name: Vercel Deployment CI +name: onefetch.dev CI on: push: branches: ["main"] @@ -29,8 +29,7 @@ jobs: - name: Install Dependencies run: npm ci - # NOTE Since build is automated by vercel, it's probably - # redundant to test it here, too + - name: Svelte Check run: npm run check:svelte -- --fail-on-warnings