Skip to content

Commit

Permalink
(maint) - rename workflows and add ci templates
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanbreen28 committed Dec 13, 2023
1 parent ab715aa commit 8e0c108
Show file tree
Hide file tree
Showing 5 changed files with 72 additions and 68 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: "ci"

on:
pull_request:
branches:
- "main"
workflow_dispatch:

jobs:
spec:
strategy:
fail-fast: false
matrix:
ruby_version:
- "2.7"
- "3.2"
- "jruby-9.3.7.0"
- "jruby-9.4.2.0"
include:
- ruby-version: '2.7'
puppet_gem_version: '~> 7.0'
- ruby_version: 'jruby-9.3.7.0'
puppet_gem_version: '~> 7.0'
runs_on: "ubuntu-latest"
- ruby_version: '3.2'
puppet_gem_version: '~> 8.0'
- ruby_version: 'jruby-9.4.2.0'
puppet_gem_version: '~> 8.0'
runs_on: "ubuntu-latest"
runs_on:
- "ubuntu-latest"
- "windows-latest"
name: "spec (${{ matrix.runs_on }} ruby ${{ matrix.ruby_version }} | puppet ${{matrix.puppet_gem_version}})"
uses: "puppetlabs/cat-github-actions/.github/workflows/gem_ci.yml@main"
secrets: "inherit"
with:
ruby_version: ${{ matrix.ruby_version }}
puppet_gem_version: ${{ matrix.puppet_gem_version }}
runs_on: ${{ matrix.runs_on }}
File renamed without changes.
33 changes: 33 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: "nightly"

on:
schedule:
- cron: "0 0 * * *"

jobs:
spec:
strategy:
fail-fast: false
matrix:
ruby_version:
- "2.7"
- "3.2"
include:
- ruby-version: '2.7'
puppet_gem_version: '~> 7.0'
- ruby_version: 'jruby-9.3.7.0'
puppet_gem_version: '~> 7.0'
- ruby_version: '3.2'
puppet_gem_version: '~> 8.0'
- ruby_version: 'jruby-9.4.2.0'
puppet_gem_version: '~> 8.0'
runs_on:
- "ubuntu-latest"
- "windows-latest"
name: "spec (${{ matrix.runs_on }} ruby ${{ matrix.ruby_version }} | puppet ${{matrix.puppet_gem_version}})"
uses: "puppetlabs/cat-github-actions/.github/workflows/gem_ci.yml@main"
secrets: "inherit"
with:
ruby_version: ${{ matrix.ruby_version }}
puppet_gem_version: ${{ matrix.puppet_gem_version }}
runs_on: ${{ matrix.runs_on }}
File renamed without changes.
68 changes: 0 additions & 68 deletions .github/workflows/rspec_tests.yaml

This file was deleted.

0 comments on commit 8e0c108

Please sign in to comment.