File tree Expand file tree Collapse file tree 1 file changed +14
-7
lines changed
Expand file tree Collapse file tree 1 file changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -10,17 +10,24 @@ jobs:
1010 runs-on : ubuntu-latest
1111 steps :
1212 - uses : actions/checkout@v3
13+
1314 - uses : ruby/setup-ruby@v1
1415 with :
1516 ruby-version : ' 3.1' # Or your preferred version
1617
17- - name : Install arduino_ci gem
18+ - name : Install Bundler
19+ run : gem install bundler
20+
21+ - name : Create Gemfile
1822 run : |
19- gem install arduino_ci
20- echo "PATH=$(ruby -e 'print Gem.bindir'):\$PATH" >> $GITHUB_ENV
21-
23+ echo "source 'https://rubygems.org'" > Gemfile
24+ echo "gem 'arduino_ci'" >> Gemfile
25+
26+ - name : Install dependencies
27+ run : bundle install
28+
2229 - name : Verify arduino_ci installation
23- run : arduino_ci --version
24-
30+ run : bundle exec arduino_ci --version
31+
2532 - name : Run Arduino CI tests
26- run : arduino_ci
33+ run : bundle exec arduino_ci
You can’t perform that action at this time.
0 commit comments