Skip to content

Ci/modernise actions - #55

Merged
ariesclark merged 17 commits into
mainfrom
ci/modernise-actions
Aug 9, 2026
Merged

Ci/modernise actions#55
ariesclark merged 17 commits into
mainfrom
ci/modernise-actions

Conversation

@ariesclark

Copy link
Copy Markdown
Member

No description provided.

Copilot AI lite review requested due to automatic review settings August 9, 2026 11:08

Copilot AI left a comment

Copy link
Copy Markdown

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 modernizes the repository’s CI setup by updating GitHub Action versions, restructuring workflows (including a new consolidated CI workflow), and introducing explicit OpenAPI generator CLI versioning configuration.

Changes:

  • Added openapitools.json to pin the OpenAPI Generator CLI version.
  • Updated multiple workflows to newer action versions and broadened push branch triggers.
  • Replaced the standalone pana workflow with a new multi-job .github/workflows/ci.yaml (generate → analyze/pana).

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
openapitools.json Pins OpenAPI Generator CLI version for reproducible generation.
generate.sh Removes Homebrew install step for the generator and relies on generator availability.
.github/workflows/test.yml Updates action versions and adjusts push branch trigger pattern.
.github/workflows/pana.yml Removes the old package analysis workflow (replaced by CI workflow).
.github/workflows/major-dependency-upgrades.yaml Updates action versions for dependency upgrade automation.
.github/workflows/generate.yml Updates action versions and pins Homebrew setup action by SHA.
.github/workflows/ci.yaml Introduces a consolidated CI workflow with generation + analysis + pana.
Suppressed comments (1)

.github/workflows/ci.yaml:43

  • Uploading the entire workspace (path: .) with include-hidden-files: true will likely include .git and other unnecessary files, inflating artifact size and slowing down CI. The downstream jobs only need the Dart packages, so restrict the artifact contents to those directories.
      - uses: actions/upload-artifact@v7
        with:
          name: dart-generated
          path: .
          include-hidden-files: true

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread generate.sh

# Ensure openapi-generator is installed and up to date
brew install openapi-generator
openapi-generator generate -g dart-dio -c generator-config.yaml
Comment on lines 39 to 43
- name: Set up Homebrew
uses: Homebrew/actions/setup-homebrew@master
uses: Homebrew/actions/setup-homebrew@fd832223f9f99ebf0244dd20658680e5d4aca049

- name: Generate
run: ./generate.sh
Comment on lines 39 to +41
- name: Create Pull Request
if: steps.pubspec_check.outputs.changed
uses: peter-evans/create-pull-request@v6
uses: peter-evans/create-pull-request@v8
Comment thread .github/workflows/ci.yaml
Comment on lines +27 to +30
- uses: vrchatapi/specification/.github/actions/setup-generator@main

- uses: vrchatapi/specification/.github/actions/download@main
with:
@ariesclark
ariesclark merged commit dc3d021 into main Aug 9, 2026
11 checks passed
@ariesclark
ariesclark deleted the ci/modernise-actions branch August 9, 2026 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants