Sha256: 119c25803fc001db7a8f0498122c397161643f5be9b942997ef242909dc48cfd

Contents?: true

Size: 1012 Bytes

Versions: 1

Compression:

Stored size: 1012 Bytes

Contents

name: Scheduled
on:
  schedule:
    - cron: "0 4 * * 1" # 4am UTC on Mondays (10pm/11pm CT on Sundays)

jobs:
  bundler-audit:
    if:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
      with:
        fetch-depth: 0
    - uses: ruby/setup-ruby@v1
      with:
        ruby-version: 3.0
        bundler-cache: true
    - run: |
        gem install bundler-audit
        bundler-audit update
        bundler-audit

        if [ $? -eq 0 ]; then
          echo "No vulnerabilities found."
        else
          echo "Gem vulnerabilities found!"
          exit 1
        fi
  bundle-outdated:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
      with:
        fetch-depth: 0
    - uses: ruby/setup-ruby@v1
      with:
        ruby-version: 3.0
        bundler-cache: true
    - run: |
        bundle outdated --strict

        if [ $? -eq 0 ]; then
          echo "No outdated gems found."
        else
          echo "Outdated gems found!"
          exit 1
        fi

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ninny-0.1.17 .github/workflows/scheduled.yml