Skip to content

No CI checks run on push/PR — only at tag/publish time #19

Description

@Jaro-c

I noticed there's only publish.yml, triggered on push: tags: ["v*"] — there's no workflow running on push/PR to master or develop. That means code merges into develop/master with no lint/vet/test check, and the only test run (go test ./...) is gated behind if: matrix.isPublisher, so it only executes for the windows-amd64 matrix leg — linux and darwin builds never run tests, even at release time.

I'd add a ci.yml that runs on PR/push to master and develop:

on:
  pull_request:
    branches: [master, develop]
  push:
    branches: [master, develop]

jobs:
  checks:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-go@v5
        with:
          go-version: "1.24.5"
      - run: go vet ./...
      - run: go test ./...

Related issues

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions