Bump ruby/setup-ruby from 1.207.0 to 1.212.0 #2000
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
# This file is part of the setup-specmatic. | |
# | |
# Copyright (c) 2023 airSlate, Inc. | |
# | |
# For the full copyright and license information, please view | |
# the LICENSE file that was distributed with this source code. | |
name: Validate Action | |
on: | |
push: | |
branches-ignore: | |
# These should always correspond to pull requests, so ignore them for | |
# the push trigger and let them be triggered by the pull_request | |
# trigger, avoiding running the workflow twice. This is a minor | |
# optimization so there's no need to ensure this is comprehensive. | |
- 'dependabot/**' | |
pull_request: | |
branches: | |
- main | |
schedule: | |
- cron: '0 0 * * *' | |
# | | | | | | |
# | | | | |____ day of the week (0 - 6 or SUN-SAT) | |
# | | | |____ month (1 - 12 or JAN-DEC) | |
# | | |____ day of the month (1 - 31) | |
# | |____ hour (0 - 23) | |
# |____ minute (0 - 59) | |
jobs: | |
stable: | |
name: Check Stable Installation | |
runs-on: ${{ matrix.os }} | |
# The maximum number of minutes to let a workflow run | |
# before GitHub automatically cancels it. Default: 360 | |
timeout-minutes: 30 | |
strategy: | |
# When set to true, GitHub cancels | |
# all in-progress jobs if any matrix job fails. | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-latest | |
- macos-latest | |
- windows-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'oracle' | |
- name: Setup Specmatic Stable | |
uses: ./ | |
with: | |
specmatic-version: stable | |
- name: Verify Specmatic | |
run: specmatic --version | |
oldstable: | |
name: Check OldStable Installation | |
runs-on: ${{ matrix.os }} | |
# The maximum number of minutes to let a workflow run | |
# before GitHub automatically cancels it. Default: 360 | |
timeout-minutes: 30 | |
strategy: | |
# When set to true, GitHub cancels | |
# all in-progress jobs if any matrix job fails. | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-latest | |
- macos-latest | |
- windows-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'oracle' | |
- name: Setup Specmatic OldStable | |
uses: ./ | |
with: | |
specmatic-version: oldstable | |
- name: Verify Specmatic | |
run: specmatic --version |