Add X-Content-Type-Options header #136
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: DragonflyDB CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ "main" ] | |
permissions: | |
contents: read | |
jobs: | |
test: | |
name: "Ruby ${{ matrix.ruby }} / Dragonfly ${{ matrix.redis }}" | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby: ["2.7", "3.0", "3.1", "3.2", "3.3"] | |
redis: ["latest"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby ${{ matrix.ruby }} | |
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby, | |
# change this to (see https://github.com/ruby/setup-ruby#versioning): | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true # 'bundle install' and cache gems | |
ruby-version: ${{ matrix.ruby }} | |
- name: Set up Redis ${{ matrix.redis }} | |
uses: supercharge/[email protected] | |
with: | |
redis-version: ${{ matrix.redis }} | |
redis-image: docker.dragonflydb.io/dragonflydb/dragonfly | |
- name: Run tests | |
run: bundle exec rake |