Skip to content

Commit

Permalink
feat: add sqlite3 dependency to the github actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosgz committed Jan 24, 2024
1 parent 7c75a40 commit 29b0399
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,13 @@ jobs:
BUNDLE_GEMFILE: ${{ github.workspace }}/${{ matrix.gemfile }}
steps:
- uses: actions/checkout@v4
- name: Install SQLite3
run: sudo apt-get install sqlite3 libsqlite3-dev
- name: Set up using Ruby ${{ matrix.ruby-version }} with Gemfile '${{ matrix.gemfile }}'
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
rubygems: latest
- name: Run linter
run: bundle exec rubocop
- name: Run tests
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
source 'https://rubygems.org'

gem 'esse', '~> 0.2.4'
gem 'sqlite3', '~> 1.3.6'
gem 'sqlite3'
gem 'activerecord', '~> 5.2'
gem 'esse-rspec', '~> 0.0.6'
gem 'elasticsearch', '~> 7.17', '>= 7.17.10'
Expand Down
6 changes: 4 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ GEM
language_server-protocol (3.17.0.3)
lint_roller (1.1.0)
method_source (1.0.0)
mini_portile2 (2.8.5)
minitest (5.21.2)
multi_json (1.15.0)
parallel (1.24.0)
Expand Down Expand Up @@ -107,7 +108,8 @@ GEM
rubocop-capybara (~> 2.17)
ruby-progressbar (1.13.0)
ruby2_keywords (0.0.5)
sqlite3 (1.3.13)
sqlite3 (1.6.9)
mini_portile2 (~> 2.8.0)
standard (1.28.5)
language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.0)
Expand Down Expand Up @@ -149,7 +151,7 @@ DEPENDENCIES
rubocop
rubocop-performance
rubocop-rspec
sqlite3 (~> 1.3.6)
sqlite3
standard
webmock
yard
Expand Down

0 comments on commit 29b0399

Please sign in to comment.