File: install.yml

package info (click to toggle)
patch-hub 0.1.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,616 kB
  • sloc: xml: 142; makefile: 33
file content (29 lines) | stat: -rw-r--r-- 662 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Cargo Install

on:
  push:
    branches: [ master, unstable, ivinjabraham-fix-124 ]
  pull_request:
    branches: [ master, unstable ]

jobs:
  check-local-install:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4

      - name: Install crate
        run: cargo install --path .

      - name: Verify installed binary
        run: patch-hub --version

  # TODO: Uncomment this job after adding `patch-hub` to crates.io
  # check-install-from-crates-io:
  #   runs-on: ubuntu-latest
  #   steps:
  #     - name: Install crate
  #       run: cargo install patch-hub

  #     - name: Verify installed binary
  #       run: patch-hub -c