Skip to content

Commit

Permalink
Make CI job names shorter and more consistent (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
kazarmy authored Nov 15, 2023
1 parent 601d302 commit 673bdc3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: run-rz-bindgen
name: build
on:
push:
workflow_dispatch:
Expand All @@ -10,8 +10,7 @@ on:
default: 'dev'

jobs:
run-bindgen:
name: Run bindgen
pypa-wheels:
runs-on: ${{ matrix.os }}

strategy:
Expand All @@ -30,7 +29,7 @@ jobs:
path: rizin
ref: ${{ inputs.rizin_ref }}

- name: Run rz-bindgen
- name: Build rz-bindgen
uses: pypa/[email protected]

- name: Upload sdist
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: linting
name: lint
on: push
jobs:
licenses:
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: release-rz-bindgen
name: release
on:
push:
tags:
Expand All @@ -14,16 +14,15 @@ jobs:
- id: extract_version
run: echo "result=$(echo ${{ github.ref }} | cut -d'_' -f1 | cut -d'-' -f2-)" >> "$GITHUB_OUTPUT"

run-bindgen:
build:
uses: ./.github/workflows/ci.yml
needs: [extract-rizin-version]
with:
rizin_ref: ${{ needs.extract-rizin-version.outputs.rizin_version }}

publish-pypi:
name: Publish PyPi
runs-on: ubuntu-latest
needs: [run-bindgen]
needs: [build]
steps:
- name: Download artifacts
uses: actions/download-artifact@v3
Expand Down

0 comments on commit 673bdc3

Please sign in to comment.