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

Implementation of caching functionality for setup-go action #228

Merged
merged 63 commits into from May 25, 2022

Commits on Feb 21, 2022

  1. Change action.yml file

    Such inputs as 'cache' and 'cache-dependency-path' were added along with
    their descriptions.
    Ivan Zosimov (Akvelon INC) committed Feb 21, 2022
    Copy the full SHA
    56994f1 View commit details
    Browse the repository at this point in the history
  2. Change build script in package.json file

    Divided building procedure into two, one for main job, another for
    post-job.
    Ivan Zosimov (Akvelon INC) committed Feb 21, 2022
    Copy the full SHA
    5ba3482 View commit details
    Browse the repository at this point in the history
  3. Add logic for modules caching

    Such files as cache-restore.ts, cache-utils.ts, constants.ts,
    cache-save.ts we added. Main.ts file now incorporates logic for using
    files mentioned above.
    Ivan Zosimov (Akvelon INC) committed Feb 21, 2022
    Copy the full SHA
    25a133c View commit details
    Browse the repository at this point in the history
  4. Format files according to Prettier rules and build

    Ivan Zosimov (Akvelon INC) committed Feb 21, 2022
    Copy the full SHA
    53f5d5e View commit details
    Browse the repository at this point in the history
  5. Change description of the cache input in action.yml

    Ivan Zosimov (Akvelon INC) committed Feb 21, 2022
    Copy the full SHA
    174207d View commit details
    Browse the repository at this point in the history
  6. Change path to matchers.json

    Ivan Zosimov (Akvelon INC) committed Feb 21, 2022
    Copy the full SHA
    a79b7c7 View commit details
    Browse the repository at this point in the history
  7. Rebuild index.js file for the main job

    Ivan Zosimov (Akvelon INC) committed Feb 21, 2022
    Copy the full SHA
    766a339 View commit details
    Browse the repository at this point in the history
  8. Change behavior of the post-job

    If caching is not enabled by action.yml input, save of the cache won't
    occur in the post-job.
    Ivan Zosimov (Akvelon INC) committed Feb 21, 2022
    Copy the full SHA
    8dd60ba View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2022

  1. Rebuild action with some small changes.

    Changes were applied to some debug messages.
    Ivan Zosimov (Akvelon INC) committed Feb 22, 2022
    Copy the full SHA
    d450eff View commit details
    Browse the repository at this point in the history
  2. Change code to make it more extandable in future

    Ivan Zosimov (Akvelon INC) committed Feb 22, 2022
    Copy the full SHA
    f2efd31 View commit details
    Browse the repository at this point in the history
  3. Change field in the action.yml file

    Change modules-manager to package-manager in action.yml file.
    Ivan Zosimov (Akvelon INC) committed Feb 22, 2022
    Copy the full SHA
    11d8853 View commit details
    Browse the repository at this point in the history
  4. Fix bug with getting object property by its name

    Ivan Zosimov (Akvelon INC) committed Feb 22, 2022
    Copy the full SHA
    30f08b7 View commit details
    Browse the repository at this point in the history
  5. Add new file-container for package-managers

    File package-managers.ts was added.
    Ivan Zosimov (Akvelon INC) committed Feb 22, 2022
    Copy the full SHA
    f7d54db View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2022

  1. Update package-lock.json file

    Ivan Zosimov (Akvelon INC) committed Feb 24, 2022
    Copy the full SHA
    b05c2a5 View commit details
    Browse the repository at this point in the history
  2. Change logic to find matchers.json file

    Ivan Zosimov (Akvelon INC) committed Feb 24, 2022
    Copy the full SHA
    b2ef77d View commit details
    Browse the repository at this point in the history
  3. Rebuild action

    Ivan Zosimov (Akvelon INC) committed Feb 24, 2022
    Copy the full SHA
    b50606f View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    ac150f8 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    865dc0c View commit details
    Browse the repository at this point in the history
  6. Make some small changes according to review points

    Ivan Zosimov (Akvelon INC) committed Feb 24, 2022
    Copy the full SHA
    2e1e7c7 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2022

  1. Merge branch 'main' into modules-caching

    Ivan Zosimov (Akvelon INC) committed Feb 28, 2022
    Copy the full SHA
    fc2e404 View commit details
    Browse the repository at this point in the history
  2. Change code according to review points

    Ivan Zosimov (Akvelon INC) committed Feb 28, 2022
    Copy the full SHA
    86d1cd6 View commit details
    Browse the repository at this point in the history
  3. Change code according to review points

    Ivan Zosimov (Akvelon INC) committed Feb 28, 2022
    Copy the full SHA
    8d80cd6 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2022

  1. Change cache-save.ts file

    Ivan Zosimov (Akvelon INC) committed Mar 4, 2022
    Copy the full SHA
    2d0c507 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2022

  1. Add some unit tests fot cache-utils.ts file

    Ivan Zosimov (Akvelon INC) committed Mar 5, 2022
    Copy the full SHA
    4d62da4 View commit details
    Browse the repository at this point in the history
  2. Add changes before sync with upstream

    Ivan Zosimov (Akvelon INC) committed Mar 5, 2022
    Copy the full SHA
    07ecad3 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'main' into modules-caching

    Ivan Zosimov (Akvelon INC) committed Mar 5, 2022
    Copy the full SHA
    c8d315d View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2022

  1. Merge branch 'main' into modules-caching

    Ivan Zosimov committed Mar 30, 2022
    Copy the full SHA
    ed123a2 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'modules-caching' into modules-caching-tests

    Ivan Zosimov committed Mar 30, 2022
    Copy the full SHA
    1a1c412 View commit details
    Browse the repository at this point in the history
  3. Fix review points and rebuild solution

    Ivan Zosimov committed Mar 30, 2022
    Copy the full SHA
    ccf8d26 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    3f2174e View commit details
    Browse the repository at this point in the history
  5. Merge branch 'modules-caching' into modules-caching-tests

    Ivan Zosimov committed Mar 30, 2022
    Copy the full SHA
    0d5a33f View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2022

  1. Add unit-tests for cache-restore file

    Ivan Zosimov committed Mar 31, 2022
    Copy the full SHA
    104f9bb View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2022

  1. Format text of messages in the unit-tests

    Ivan Zosimov committed Apr 1, 2022
    Copy the full SHA
    2968dda View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    b427445 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    c1691a3 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    fce3a09 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2022

  1. Fix review points

    Ivan Zosimov committed Apr 4, 2022
    Copy the full SHA
    c733861 View commit details
    Browse the repository at this point in the history
  2. Fix cache-save.ts file

    Ivan Zosimov committed Apr 4, 2022
    Copy the full SHA
    e72fc46 View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2022

  1. Add functionality for caching with GHES

    Ivan Zosimov committed Apr 7, 2022
    Copy the full SHA
    1466d1b View commit details
    Browse the repository at this point in the history
  2. Add unit tests to the new feature

    Ivan Zosimov committed Apr 7, 2022
    Copy the full SHA
    d8930c5 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2022

  1. Change actions/cache dependency to version 2.0.2

    Ivan Zosimov committed Apr 11, 2022
    Copy the full SHA
    3b613b0 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    666e762 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    e7d12af View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2022

  1. Merge pull request #1 from dmitry-shibanov/v-dmshib/modules-caching

    regenerate dependencies
    IvanZosimov committed Apr 12, 2022
    Copy the full SHA
    c8ed3f9 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2022

  1. Add caching of the compiler's temporary files

    Ivan Zosimov committed Apr 18, 2022
    Copy the full SHA
    661954d View commit details
    Browse the repository at this point in the history
  2. Adjust unit-tests for supporting new feature

    Ivan Zosimov committed Apr 18, 2022
    Copy the full SHA
    c64d0e0 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2022

  1. Change behavior of the exception throwing

    Ivan Zosimov committed Apr 20, 2022
    Copy the full SHA
    8c8442b View commit details
    Browse the repository at this point in the history
  2. Fix typo

    Ivan Zosimov committed Apr 20, 2022
    Copy the full SHA
    9bc7dce View commit details
    Browse the repository at this point in the history
  3. Fixed text of the error

    Ivan Zosimov committed Apr 20, 2022
    Copy the full SHA
    832658f View commit details
    Browse the repository at this point in the history
  4. Fix review points

    Ivan Zosimov committed Apr 20, 2022
    Copy the full SHA
    ede5159 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #3 from IvanZosimov/compiler-caching

    Added caching for compiler's dependencies
    IvanZosimov committed Apr 20, 2022
    Copy the full SHA
    3a3f8d0 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2022

  1. Change definition of the cache input and rewrite README

    Ivan Zosimov committed Apr 21, 2022
    Copy the full SHA
    5ee8b21 View commit details
    Browse the repository at this point in the history
  2. Fix message source of the output when cache hit occured

    Ivan Zosimov committed Apr 21, 2022
    Copy the full SHA
    5a9c31a View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2022

  1. Copy the full SHA
    eedb42b View commit details
    Browse the repository at this point in the history
  2. Rebuild project with current changes

    Ivan Zosimov committed Apr 26, 2022
    Copy the full SHA
    760c585 View commit details
    Browse the repository at this point in the history
  3. Fix merge confilct in README.md

    Ivan Zosimov committed Apr 26, 2022
    Copy the full SHA
    f735869 View commit details
    Browse the repository at this point in the history
  4. Modify README.md file

    Ivan Zosimov committed Apr 26, 2022
    Copy the full SHA
    a4ab0b1 View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2022

  1. Fix review points

    README.md file was updated, removed async declaration in cache-utils
    file and changed the error message in cache-save file.
    Ivan Zosimov committed Apr 27, 2022
    Copy the full SHA
    2d848c0 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2022

  1. Change the cache key pattern

    Ivan Zosimov committed May 4, 2022
    Copy the full SHA
    b91ca81 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'main' into modules-caching

    IvanZosimov committed May 4, 2022
    Copy the full SHA
    2490b9d View commit details
    Browse the repository at this point in the history
  3. Rebuild action

    IvanZosimov committed May 4, 2022
    Copy the full SHA
    79faedd View commit details
    Browse the repository at this point in the history

Commits on May 23, 2022

  1. Merge upstream 'main' from actions/setup-go into

    IvanZosimov/modules-caching
    IvanZosimov committed May 23, 2022
    Copy the full SHA
    d899929 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2022

  1. Rebuild action and solved problem with unit-tests

    IvanZosimov committed May 24, 2022
    Copy the full SHA
    9031bf2 View commit details
    Browse the repository at this point in the history