Skip to content

nightly build#3

Merged
danilin-em merged 1 commit intomasterfrom
feature-nightly-build
Mar 18, 2026
Merged

nightly build#3
danilin-em merged 1 commit intomasterfrom
feature-nightly-build

Conversation

@danilin-em
Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings March 18, 2026 10:24
@danilin-em danilin-em merged commit 8eae1d9 into master Mar 18, 2026
2 of 3 checks passed
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c3fe1d4776

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +3 to +5
on:
push:
branches: [main, master]
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Trigger nightly workflow on a schedule

The workflow is named and used as a nightly build, but it only runs on push to main/master; if no commits land on a day, no build or release is produced for that night. This causes the nightly artifact stream to go stale precisely in the no-commit periods where a scheduled nightly run is expected, so the trigger should include on.schedule (and optionally keep push as a separate trigger).

Useful? React with 👍 / 👎.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a GitHub Actions workflow intended to produce “nightly” Go binaries and publish them as a GitHub prerelease.

Changes:

  • Introduces .github/workflows/nightly.yml to run go vet, go test, and cross-compile binaries for multiple OS/arch targets.
  • Packages artifacts into .tar.gz files and publishes them to a nightly GitHub release via gh.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +4 to +5
push:
branches: [main, master]

- uses: actions/setup-go@v5
with:
go-version: "1.25"
Comment on lines +44 to +56
- name: Delete previous nightly release
env:
GH_TOKEN: ${{ github.token }}
run: gh release delete nightly --yes --cleanup-tag || true

- name: Create nightly release
env:
GH_TOKEN: ${{ github.token }}
run: |
gh release create nightly dist/*.tar.gz \
--title "Nightly ($(date -u +%Y-%m-%d))" \
--notes "Автоматическая сборка из \`${GITHUB_SHA::7}\` ($(date -u +%Y-%m-%d %H:%M UTC))" \
--prerelease
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.

2 participants