Skip to content

CI: outdated actions/checkout versions (v2, v3) should be updated to v4+ #157

@dobby-coder

Description

@dobby-coder

Problem

The CI workflow .github/workflows/build.yml uses outdated versions of actions/checkout:

  • Line 32 (test job): actions/checkout@v3
  • Line 46 (format job): actions/checkout@v3
  • Line 65 (test-wasm-browsers job): actions/checkout@v2

actions/checkout@v2 and @v3 use Node.js 16, which GitHub has deprecated. These will emit deprecation warnings and will eventually stop working.

The delivery.yml workflow already uses actions/checkout@v6, so this is inconsistent within the same repo.

Suggested fix

Update all actions/checkout references in build.yml to @v4 (or @v6 to match delivery.yml):

- uses: actions/checkout@v4

Additional note

The test-wasm-browsers job also installs wasm-pack from scratch every run via cargo install wasm-pack. Consider caching this or using a pre-built binary action to speed up CI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions