Skip to content

Commit

Permalink
* Update CI to run monthly, update codecov/codecov-action, add Ruby 3…
Browse files Browse the repository at this point in the history
….3 to matrix
  • Loading branch information
PikachuEXE committed May 13, 2024
1 parent b8631b7 commit cdbc9f2
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
name: Main
on:
schedule:
# Run on the first day of every month
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
- cron: '0 0 1 * *'
# Allow running manually
# For more details: https://docs.github.com/en/actions/using-workflows/manually-running-a-workflow?tool=webui
workflow_dispatch:
push:
branches:
- main
Expand All @@ -20,6 +27,7 @@ jobs:
- "3.0"
- "3.1"
- "3.2"
- "3.3"

steps:
- name: Checkout code
Expand All @@ -36,7 +44,7 @@ jobs:
- name: Rake
run: bundle exec rake

- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v4

lint:
runs-on: ubuntu-latest
Expand All @@ -49,7 +57,7 @@ jobs:
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.2"
ruby-version: "3.3"
bundler-cache: true

- name: standardrb
Expand Down

0 comments on commit cdbc9f2

Please sign in to comment.