Skip to content

Commit

Permalink
fix workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostloda committed Feb 27, 2025
1 parent 96e9fb1 commit 26c7594
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/check-format-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ on:
env:
# Common versions
GO_VERSION: "1.23"
PROJECT_PATH: "./lifecycle"

jobs:
format-code:
Expand All @@ -39,7 +40,7 @@ jobs:
go-version: ${{ env.GO_VERSION }}

- name: Format Code
run: make format
run: cd ${{ env.PROJECT_PATH }} && make format

- name: Commit Changes
uses: stefanzweifel/git-auto-commit-action@v4
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/check-license.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ on:
env:
# Common versions
GO_VERSION: "1.20"
PROJECT_PATH: "./lifecycle"

jobs:
check-license:
Expand All @@ -38,4 +39,4 @@ jobs:
go-version: ${{ env.GO_VERSION }}

- name: Check License
run: make verify-license
run: cd ${{ env.PROJECT_PATH }} && make verify-license

0 comments on commit 26c7594

Please sign in to comment.