diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 9e9095e..0548289 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -15,21 +15,5 @@ on: jobs: test: - - continue-on-error: ${{ matrix.ruby-version == 'head' }} - runs-on: ubuntu-latest - strategy: - matrix: - ruby-version: ['2.4', '2.5', '2.6', '2.7', '3.0', 'truffleruby-head', 'head'] - - steps: - - uses: actions/checkout@v2.4.0 - - name: Set up Ruby - uses: ruby/setup-ruby@v1 - with: - ruby-version: ${{ matrix.ruby-version }} - bundler-cache: true # runs 'bundle install' and caches installed gems automatically - - name: Install dependencies - run: bundle install - - name: Run tests - run: bundle exec rake + uses: + fog/.github/.github/workflows/ruby.yml@v1.0.0 diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 00b048f..943d4a4 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -6,18 +6,5 @@ on: jobs: stale: - - runs-on: ubuntu-latest - - steps: - - uses: actions/stale@v4 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - days-before-stale: 60 - days-before-close: 7 - exempt-issue-labels: 'pinned,security' - exempt-pr-labels: 'pinned,security' - stale-issue-message: 'This issue has been marked inactive and will be closed if no further activity occurs.' - stale-pr-message: 'This pr has been marked inactive and will be closed if no further activity occurs.' - stale-issue-label: 'no-issue-activity' - stale-pr-label: 'no-pr-activity' + uses: + fog/.github/.github/workflows/stale.yml@v1.0.0