Skip to content

Commit 6f88644

Browse files
Rotzbuakeunes
authored andcommitted
Add GH Actions caching
* Use ruby minor dependency to use automatically latest patch version * Remove outdated `apt install`
1 parent fe0061b commit 6f88644

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/autoreview.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,8 @@ jobs:
1919
runs-on: ubuntu-22.04
2020
steps:
2121
- uses: actions/checkout@v3
22-
- run: sudo apt-get install ruby-full build-essential zlib1g-dev git
2322
- uses: ruby/setup-ruby@v1
2423
with:
25-
ruby-version: '3.2.0'
26-
- run: gem install bundler jekyll --no-document
27-
- run: bundle install
24+
ruby-version: '3.2'
25+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
2826
- run: bundle exec jekyll build

0 commit comments

Comments
 (0)