mirror of
https://github.com/Lifailon/lazyjournal.git
synced 2026-11-11 01:09:46 +01:00
add checkout to codecov and build params to summary for code review workflow
This commit is contained in:
@@ -33,6 +33,15 @@ jobs:
|
||||
with:
|
||||
ref: ${{ github.event.inputs.Branch }}
|
||||
|
||||
- name: Build parameters to github summary
|
||||
shell: bash
|
||||
run: |
|
||||
echo "## Build parameters" >> $GITHUB_STEP_SUMMARY
|
||||
echo "- **Prompt**: ${{ github.event.inputs.Prompt }}" >> $GITHUB_STEP_SUMMARY
|
||||
echo "- **PR**: ${{ github.event.inputs.PR == 'true' && '✅ true' || '❌ false' }}" >> $GITHUB_STEP_SUMMARY
|
||||
echo "- **Branch**: ${{ github.event.inputs.Branch }}" >> $GITHUB_STEP_SUMMARY
|
||||
echo "- **Title**: ${{ github.event.inputs.Title }}" >> $GITHUB_STEP_SUMMARY
|
||||
|
||||
- name: Install opencode
|
||||
run: curl -fsSL https://opencode.ai/v2/install | bash
|
||||
|
||||
|
||||
@@ -544,6 +544,9 @@ jobs:
|
||||
if: ${{ github.event.inputs.Codecov == 'true' }}
|
||||
|
||||
steps:
|
||||
- name: Checkout main repository
|
||||
uses: actions/checkout@v7
|
||||
|
||||
- name: Download merge coverage report
|
||||
uses: actions/download-artifact@v8
|
||||
with:
|
||||
@@ -555,5 +558,5 @@ jobs:
|
||||
with:
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
files: merge-coverage.out
|
||||
fail_ci_if_error: false
|
||||
flags: merge
|
||||
verbose: true
|
||||
@@ -60,7 +60,7 @@ jobs:
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@v7
|
||||
with:
|
||||
go-version: 1.25
|
||||
go-version: 1.26
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
|
||||
@@ -34,7 +34,7 @@ jobs:
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@v7
|
||||
with:
|
||||
go-version: 1.26.2
|
||||
go-version: 1.26
|
||||
|
||||
- name: Get app version for tag
|
||||
if: ${{ github.event.inputs.Tag == 'true' }}
|
||||
|
||||
Reference in New Issue
Block a user