diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-12-02 22:21:20 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-02 22:21:20 +0900 |
commit | 3f1dcd7fffbe94538c233d4f916523b00dbc2889 (patch) | |
tree | a9e26a86003b1354def75386ce1c055f5a5ab97a /.github/workflows/codeql-analysis.yml | |
parent | 60fc8dda647cbfe272c7b1bdbbb8e54c1fa7816e (diff) |
Cache downloaded files
Cache downloaded external libraries/gems, which are expected not
changed so frequently.
Also sometimes downloading from zlib returns the current time as
the date header in unexpected format, and checksums mismatch at
that time.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/5201
Merged-By: nobu <nobu@ruby-lang.org>
Diffstat (limited to '.github/workflows/codeql-analysis.yml')
-rw-r--r-- | .github/workflows/codeql-analysis.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 1ef2ed6fd6..d22da8e481 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -37,6 +37,11 @@ jobs: - name: Checkout repository uses: actions/checkout@v2 + - uses: actions/cache@v2 + with: + path: .downloaded-cache + key: downloaded-cache + - name: Remove an obsolete rubygems vendored file run: sudo rm /usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb |