Skip to content

Bump ruby/setup-ruby from 1.171.0 to 1.176.0 #108

Bump ruby/setup-ruby from 1.171.0 to 1.176.0

Bump ruby/setup-ruby from 1.171.0 to 1.176.0 #108

Workflow file for this run

name: hashicorp/vault-ruby/run-tests
on:
push:
branches:
- master
pull_request:
jobs:
test:
strategy:
fail-fast: false
matrix:
# https://endoflife.date/ruby
ruby: ["2.7", "3.0", "3.1", "3.2"]
vault: ["1.11.9", "1.12.5", "1.13.1"]
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: ruby/setup-ruby@cacc9f1c0b3f4eb8a16a6bb0ed10897b43b9de49 # v1.176.0
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: "Install vault cli"
run: |
curl -sLo vault.zip "https://releases.hashicorp.com/vault/${{ matrix.vault }}/vault_${{ matrix.vault }}_linux_amd64.zip"
unzip vault.zip
mkdir -p "$HOME/bin"
mv vault "$HOME/bin"
echo "$HOME/bin" >> "$GITHUB_PATH"
- run: bundle exec rake
permissions:
contents: read