Skip to content

Bump actions/cache from 4 to 5 #13

Bump actions/cache from 4 to 5

Bump actions/cache from 4 to 5 #13

Workflow file for this run

name: build
on: pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/cache@v5
with:
path: |
~/.cargo/registry
~/.cargo/git
tmp
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Install protobuf compiler
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler
- uses: ruby/setup-ruby@v1
with:
ruby-version: ruby
bundler-cache: true
- name: Compile native extension
run: bundle exec rake compile
- name: Run specs
run: |
bundle exec rake spec