Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve checkout performance on Windows runners by upgrading @actions/github dependency #1246

Merged
merged 3 commits into from Apr 12, 2023

Commits on Apr 6, 2023

  1. Improve checkout performance on Windows runners by upgrading @actions…

    …/github dependency
    
    Re: actions#1186
    
    @dscho discovered that the checkout action could stall for a
    considerable amount of time on Windows runners waiting for PowerShell
    invocations made from 'windows-release' npm package to complete.
    
    Then I studied the dependency chain to figure out where
    'windows-release' was imported:
    
    '@actions/checkout'@main
      <- '@actions/github'@2.2.0
        <- '@octokit/endpoint'@6.0.1
        <- '@octokit/graphql'@4.3.1
        <- '@octokit/request'@5.4.2
        <- '@octokit/rest'@16.43.1
          <- 'universal-user-agent'@4.0.1
            <- 'os-name'@3.1.0
              <- 'windows-release'@3.1.0
    
    'universal-user-agent' package dropped its dependency on 'os-name' in
    https://github.com/gr2m/universal-user-agent/releases/tag/v6.0.0 .
    
    '@actions/github' v3 removed dependency on '@octokit/rest'@16.43.1 and
    allows users to move away from the old 'universal-user-agent' v4.
    (actions/toolkit#453)
    
    This pull request attempts to update the version of '@actions/github'
    used in the checkout action to avoid importing 'windows-release'.
    
    Based on testing in my own repositories, I can see an improvement in
    reduced wait time between entering the checkout action and git actually
    starts to do useful work.
    BrettDong committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    a3c4ed9 View commit details
    Browse the repository at this point in the history
  2. Update .licenses

    BrettDong committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    7ac4fa6 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2023

  1. Rebuild index.js

    BrettDong committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    f6d3681 View commit details
    Browse the repository at this point in the history