Skip to content

Update snap#2161

Merged
lra merged 15 commits intomasterfrom
update_snap
Mar 10, 2026
Merged

Update snap#2161
lra merged 15 commits intomasterfrom
update_snap

Conversation

@lra
Copy link
Copy Markdown
Owner

@lra lra commented Mar 10, 2026

This pull request updates the GitHub Actions workflows and improves Snap packaging for the project. The most significant changes include upgrading the actions/checkout action across all workflows, adding a new workflow for building and publishing Snap packages, and modernizing the Snap packaging configuration.

CI Workflow Updates:

  • Upgraded actions/checkout from version 4 to version 6 in all workflow files (install.yaml, linelint.yaml, markdown.yaml, mypy.yaml, ruff.yaml, test.yaml) to ensure compatibility and benefit from the latest improvements and security patches. [1] [2] [3] [4] [5] [6] [7]

Snap Packaging Enhancements:

  • Added a new GitHub Actions workflow .github/workflows/snap.yaml to automate building and publishing Snap packages on pushes to master and pull requests. This workflow uses snapcore/action-build and snapcore/action-publish for streamlined Snap deployment.
  • Updated snap/snapcraft.yaml to use core24 as the base, set metadata fields like title, license, contact, and website, and switched to using adopt-info for dynamic versioning.
  • Enhanced the Snap build process by specifying required stage packages for Python 3.12 and adding an override-pull script to extract the version from pyproject.toml and set it automatically.

Copy link
Copy Markdown
Contributor

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

This PR updates CI workflows and Snap packaging to modernize automation and prepare for Snap Store publishing.

Changes:

  • Bumps actions/checkout to @v6 across existing GitHub Actions workflows.
  • Adds a new GitHub Actions workflow to build (and on master, publish) the Snap package.
  • Modernizes snap/snapcraft.yaml metadata, updates the base to core24, and switches confinement to strict.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
snap/snapcraft.yaml Updates snap base/metadata and switches to strict confinement with home plug.
.github/workflows/snap.yaml New workflow to build and publish the snap on master pushes.
.github/workflows/test.yaml Updates checkout action version.
.github/workflows/ruff.yaml Updates checkout action version.
.github/workflows/mypy.yaml Updates checkout action version.
.github/workflows/markdown.yaml Updates checkout action version.
.github/workflows/linelint.yaml Updates checkout action version.
.github/workflows/install.yaml Updates checkout action version in Linux and macOS install jobs.

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

Copy link
Copy Markdown
Contributor

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

Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.


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

Copy link
Copy Markdown
Contributor

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

Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.


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

Copy link
Copy Markdown
Contributor

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

Copilot reviewed 8 out of 8 changed files in this pull request and generated no new comments.


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

Copy link
Copy Markdown
Contributor

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

Copilot reviewed 8 out of 8 changed files in this pull request and generated no new comments.


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

@lra lra merged commit e1d8ed2 into master Mar 10, 2026
42 checks passed
@lra lra deleted the update_snap branch March 10, 2026 13:34
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