File tree Expand file tree Collapse file tree 2 files changed +35
-1
lines changed Expand file tree Collapse file tree 2 files changed +35
-1
lines changed Original file line number Diff line number Diff line change 1+ name : 2018-ruby
2+
3+ on :
4+ pull_request :
5+ push :
6+ branches : [master]
7+ paths :
8+ - 2018/ruby/**
9+
10+ defaults :
11+ run :
12+ working-directory : ./2018/ruby
13+
14+ jobs :
15+ tests :
16+ runs-on : ubuntu-latest
17+ steps :
18+ - uses : actions/checkout@v3
19+ - name : Determine ruby version
20+ id : determine-ruby-version
21+ run : |
22+ VERSION=$(cat .ruby-version)
23+ echo "VERSION=${VERSION}" >> "$GITHUB_OUTPUT"
24+ - name : Set up Ruby
25+ uses : ruby/setup-ruby@v1
26+ with :
27+ ruby-version : ${{ steps.determine-ruby-version.outputs.VERSION }}
28+ bundler-cache : true
29+ - name : Install gems
30+ run : |
31+ gem update bundler
32+ bundle
33+ - name : Run tests
34+ run : bundle exec rspec
Original file line number Diff line number Diff line change 1- # Advent of Code
1+ # Advent of Code
22
33Solutions for [ Advent of Code 2018] ( https://adventofcode.com/2018 ) done in Ruby
44
You can’t perform that action at this time.
0 commit comments