gem: bump version to 0.5.14 #1817
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Spec | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
schedule: | |
- | |
cron: "45 3 * * *" | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
ruby: ['3.2', '3.3'] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: false | |
- name: MacOs Dependencies | |
run: | | |
brew tap ethereum/ethereum | |
brew install --verbose pkg-config automake autogen geth solidity | |
if: startsWith(matrix.os, 'macOS') | |
- name: Ubuntu Dependencies | |
run: | | |
sudo add-apt-repository -y ppa:ethereum/ethereum | |
sudo apt-get update | |
sudo apt-get install geth solc | |
if: startsWith(matrix.os, 'Ubuntu') | |
- name: Run Geth | |
run: | | |
geth --dev --http --ipcpath /tmp/geth.ipc & | |
disown & | |
- name: Gem Dependencies | |
run: | | |
git submodule update --init | |
bundle install | |
- name: Run Tests | |
run: | | |
bundle exec rspec | |
env: | |
INFURA_TOKEN: ${{ secrets.INFURA_TOKEN }} | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v5 | |
with: | |
fail_ci_if_error: true | |
token: ${{ secrets.CODECOV_TOKEN }} |