Skip to content
This repository has been archived by the owner on Feb 6, 2025. It is now read-only.

fix: use ubuntu-latest runner #25

fix: use ubuntu-latest runner

fix: use ubuntu-latest runner #25

Workflow file for this run

---
name: CI
on:
- push
- pull_request
jobs:
static:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.5.7
- run: |
bundle install
- run: |
bundle exec rake check:symlinks check:git_ignore check:dot_underscore check:test_file rubocop syntax lint metadata_lint
spec:
runs-on: ubuntu-latest
needs: static
strategy:
fail-fast: false
matrix:
puppet-version: [5.0, 6.0, 7.18]
ruby-version: [2.4.5, 2.5.7, 2.7.6]
exclude:
- puppet-version: 5.0
ruby-version: 2.5.7
- puppet-version: 5.0
ruby-version: 2.7.6
- puppet-version: 7.18
ruby-version: 2.4.5
env:
PUPPET_GEM_VERSION: "~> ${{ matrix.puppet-version }}"
steps:
- uses: actions/checkout@v2
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
- run: |
bundle install
- run: |
bundle exec rake parallel_spec