Skip to content

Commit

Permalink
readOperations fix & action improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
qrort committed Aug 22, 2024
1 parent 33de8d0 commit e302e13
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
16 changes: 15 additions & 1 deletion .github/workflows/go-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
jobs:
test:
runs-on: ubuntu-latest
outputs:
job-summary: ${{ steps.job-summary.outputs.job-summary }}
steps:
- uses: actions/checkout@v4

Expand All @@ -16,6 +18,11 @@ jobs:
with:
go-version-file: go.mod

- name: Cache go modules
uses: magnetikonline/action-golang-cache@v5
with:
go-version-file: go.mod

- name: Install Protoc
uses: arduino/setup-protoc@v3

Expand All @@ -34,16 +41,23 @@ jobs:
- name: Test
uses: robherley/[email protected]
with:
testArguments: './... -race --timeout=10s'

- name: Generate summary
- uses: austenstone/[email protected]
id: job-summary
with:
create-pdf: false

comment-pr:
runs-on: ubuntu-latest
needs: test
steps:
- name: Comment on PR
uses: peter-evans/create-or-update-comment@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
repository: ${{ github.repository }}
issue-number: ${{ github.event.pull_request.number }}
body: ${{ steps.job-summary.outputs.job-summary }}
body: ${{ needs.test.outputs.job-summary }}
2 changes: 1 addition & 1 deletion internal/connectors/db/yql/queries/read.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ var (
AllOperationFields = []string{
"id", "type", "container_id", "database", "endpoint", "backup_id",
"initiated", "created_at", "completed_at", "status", "message",
"paths", "operation_id",
"paths", "operation_id", "paths_to_exclude",
}
)

Expand Down

0 comments on commit e302e13

Please sign in to comment.