Skip to content

Merge pull request #6 from near-rails-guide/key_keypair #18

Merge pull request #6 from near-rails-guide/key_keypair

Merge pull request #6 from near-rails-guide/key_keypair #18

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
name: rspec
on:
push:
jobs:
test:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0.2
- name: Install dependencies
run: bundle install --path vendor/bundle --jobs 4 --retry 3
- name: Rspec
run: bundle exec rspec
env:
NEAR_SIGNER_ID: ${{ secrets.NEAR_SIGNER_ID }}
NEAR_KEYPAIR: ${{ secrets.NEAR_KEYPAIR }}
NEAR_NODE_URL: ${{ secrets.NEAR_NODE_URL }}