Skip to content

Add GitHub Actions test workflow for PRs and main - #10

Merged
Southclaws merged 3 commits into
mainfrom
copilot/set-up-github-action-tests
Jul 15, 2026
Merged

Southclaws merged 3 commits into
mainfrom
copilot/set-up-github-action-tests

Conversation

Copilot AI commented Jul 15, 2026 •

Copy link
Copy Markdown
Contributor

Adds a minimal CI check so pull requests and post-merge main both run the repository test suite. This surfaces breakage before merge and also catches integration issues introduced at merge time.

  • Workflow

    • adds .github/workflows/tests.yml
    • triggers on:
      • pull_request
      • push to main
  • Execution

    • checks out the repository with actions/checkout@v4
    • sets up Go from go.mod with actions/setup-go@v5
    • runs the full Go test suite from the repo root
  • Behavior

    • keeps CI intentionally narrow: one job, one responsibility
    • uses the repository’s existing canonical test command rather than introducing custom scripts
on:
  pull_request:
  push:
    branches:
      - main

jobs:
  test:
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-go@v5
        with:
          go-version-file: go.mod
      - run: go test ./...

Copilot AI linked an issue Jul 15, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Set up GitHub action for tests and PR checks Add GitHub Actions test workflow for PRs and main Jul 15, 2026
Copilot AI requested a review from Southclaws July 15, 2026 13:27
Comment thread .github/workflows/tests.yml Outdated

steps:
- name: Check out repository
uses: actions/checkout@v4

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not use v* use an exact commit hash - SBOM security. @copilot

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated in 4877995 to pin both actions to exact commit SHAs instead of floating major tags.

Copilot AI requested a review from Southclaws July 15, 2026 19:04
@Southclaws
Southclaws marked this pull request as ready for review July 15, 2026 19:33
@Southclaws
Southclaws merged commit cf87e99 into main Jul 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

set up github action for tests + PR checks

2 participants