Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run tests on merge group #1339

Merged
merged 1 commit into from
Oct 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,14 @@ on:
push:
branches:
- main

pull_request:
branches:
- "*"

merge_group:
types: [checks_requested]

workflow_dispatch:

permissions:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/require-reviewers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
- review_request_removed
- auto_merge_enabled

merge_group:
types: [checks_requested]

# Allow calling sharing this workflow with other repositories.
workflow_call:

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@ on:
push:
branches:
- main

pull_request:
branches:
- "*"

merge_group:
types: [checks_requested]

name: Test
jobs:
test:
Expand Down Expand Up @@ -33,7 +37,9 @@ jobs:

- name: Test
run: go test ./...

- name: Check Go Formatting
run: go fmt ./... && git diff --exit-code

- name: Check Go Mod Tidyness
run: go mod tidy && git diff --exit-code
Loading