Sha256: a79d337c4d15e13a16623b832dad2741b45e5c6b483998b12c7b7b9d87d8d68d
Contents?: true
Size: 1.32 KB
Versions: 1
Compression:
Stored size: 1.32 KB
Contents
name: Test Exporter on: push: pull_request: schedule: - cron: '0 0 * * 0' # weekly jobs: build: runs-on: ubuntu-latest name: Ruby ${{ matrix.ruby }} strategy: matrix: ruby: ["3.0", "2.7", "2.6"] steps: - uses: actions/checkout@master with: fetch-depth: 1 - uses: actions/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} - uses: actions/cache@v2 with: path: vendor/bundle key: ${{ runner.os }}-${{ matrix.ruby }}-gems-v2-${{ hashFiles('**/Gemfile.lock') }} restore-keys: | ${{ runner.os }}-${{ matrix.ruby }}-gems-v2- - name: Downgrade rubygems run: | # for Ruby <= 2.6 , details https://github.com/rubygems/rubygems/issues/3284 gem update --system 3.0.8 if: ${{ matrix.ruby == '2.6' || matrix.ruby == '2.7' }} - name: Upgrade rubygems run: | gem update --system - name: Setup gems run: | gem install bundler bundle config path vendor/bundle bundle install --jobs 4 bundle exec appraisal install - name: Rubocop run: bundle exec rubocop - name: install gems run: bundle exec appraisal bundle - name: Run tests run: bundle exec appraisal rake
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
prometheus_exporter-1.0.0 | .github/workflows/ci.yml |