Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

go build hangs after codeql init

オープン
#2,589 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
30/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
github-actions, go
領域
ci-cd, security

調査の方向性

Issue に示されている workflow から始め、ubuntu-latest 上での codeql-action/init@v3 と go build -x の相互作用に焦点を当てます。CodeQL を使用しない別の workflow、およびローカルで動作する macOS arm64 CLI セットアップと比較します。ビルドがハングする理由を特定し、検証済みの fix または workaround を文書化できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Hi,

I'm trying out codeql, after running codeql init for go language and with the debug flag I build my app with go build -x and it just hangs, no output. I use the same steps to build my app in a separate workflow where there's no codeql and it works just fine. Running locally with codeql CLI (macos arm64) also works.

My workflow (simplified):

    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4

      - name: Initialize CodeQL
        uses: github/codeql-action/init@v3
        with:
          languages: go
          debug: true

      - name: Build app
        run: go build -x

      - name: Perform CodeQL Analysis
        uses: github/codeql-action/analyze@v3

I tried autobuild but after a few minutes it just hangs on one of the go files and I don't know why, would be great to learn how can I debug this.

Thank you.

主要言語
TypeScript
スター
1.6k
フォーク
493
平均マージ
1日 13時間
マージ済み PR(30日)
44

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

github/codeql-action のほかの issue

github/codeql-action の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。