From b2e7580e259c9cbdefebd03434a5c7c24b6a19e1 Mon Sep 17 00:00:00 2001 From: Dana Sherson Date: Mon, 4 Dec 2023 23:43:44 +1300 Subject: [PATCH] Github actions --- scripts/ci.sh | 3 +++ spec/git_rubocop_spec.rb | 2 ++ 2 files changed, 5 insertions(+) diff --git a/scripts/ci.sh b/scripts/ci.sh index 85dcfeb..cf1bd6d 100755 --- a/scripts/ci.sh +++ b/scripts/ci.sh @@ -2,7 +2,10 @@ # we assume this is checked out to ~/.dotfiles ln -s $PWD ~/.dotfiles +env ~/.dotfiles/scripts/install.sh . ~/.bash_profile git config --global commit.gpgsign false +ruby -v +ruby -e 'puts `env`' bundle exec rspec diff --git a/spec/git_rubocop_spec.rb b/spec/git_rubocop_spec.rb index 8805fa4..fd1043c 100644 --- a/spec/git_rubocop_spec.rb +++ b/spec/git_rubocop_spec.rb @@ -2,6 +2,8 @@ RSpec.describe 'git rubocop hooks' do before do + puts run('env').output + puts run('ruby -v').output copy_file('.ruby-version') file('Gemfile').write(<<~RUBY) source 'https://rubygems.org'