Skip to content

Commit

Permalink
test: break hakari
Browse files Browse the repository at this point in the history
Signed-off-by: iGxnon <[email protected]>
  • Loading branch information
iGxnon committed Nov 30, 2023
1 parent 2ec5797 commit 43b5a85
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: PR Checks

on:
pull_request:
types: [opened, synchronize, reopened]
branches: [master]

jobs:
Expand All @@ -12,24 +13,33 @@ jobs:
contents: write
steps:
- uses: actions/checkout@v4
- name: Get changed files in ci
id: changed-files-ci
uses: tj-actions/changed-files@v40
with:
files_yaml: |
detect:
- '**/Cargo.toml'
- Cargo.lock
- name: Install cargo-hakari
if: steps.changed-files-ci.outputs.detect_any_changed == 'true'
uses: taiki-e/install-action@v2
with:
tool: cargo-hakari
- name: Hakari generate
if: steps.changed-files-ci.outputs.detect_any_changed == 'true'
run: cargo hakari generate
- name: Show diff
run: git diff
- uses: stefanzweifel/git-auto-commit-action@v4
if: steps.changed-files-ci.outputs.detect_any_changed == 'true'
with:
commit_message: "chore: fix workspace-hack (automated by GHA)"
commit_options: "--no-verify --signoff"

build-env:
runs-on: ubuntu-latest
name: Try to build env
permissions:
packages: write
steps:
- uses: actions/checkout@v4
- name: Get changed files in ci
Expand Down
1 change: 0 additions & 1 deletion workspace-hack/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ publish = false

### BEGIN HAKARI SECTION
[dependencies]
bytes = { version = "1" }
clap = { version = "4", features = ["derive", "string"] }
clap_builder = { version = "4", default-features = false, features = ["color", "help", "std", "string", "suggestions", "usage"] }
crypto-common = { version = "0.1", default-features = false, features = ["std"] }
Expand Down

0 comments on commit 43b5a85

Please sign in to comment.