Skip to content

Commit

Permalink
Update tons of actions, with ruby 3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
frederikspang committed Jan 1, 2025
1 parent ad535cc commit d56a505
Show file tree
Hide file tree
Showing 13 changed files with 34 additions and 28 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_batch_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ jobs:
name: Build gems
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3
ruby-version: 3.4
- name: Build gem source
run: ruby .scripts/batch_build.rb
- name: Archive Artifacts
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ jobs:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
ruby-version: 3.4
- name: Capture sdk name
uses: actions-ecosystem/action-regex-match@v2
id: regex-match
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "3.3"
ruby-version: "3.4"
bundler-cache: true
- name: Run rubocop
run: bundle exec rubocop
2 changes: 1 addition & 1 deletion .github/workflows/prepare_batch_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
with:
app-id: ${{ vars.SENTRY_RELEASE_BOT_CLIENT_ID }}
private-key: ${{ secrets.SENTRY_RELEASE_BOT_PRIVATE_KEY }}
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
token: ${{ steps.token.outputs.token }}
fetch-depth: 0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prepare_raven_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
with:
app-id: ${{ vars.SENTRY_RELEASE_BOT_CLIENT_ID }}
private-key: ${{ secrets.SENTRY_RELEASE_BOT_PRIVATE_KEY }}
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
token: ${{ steps.token.outputs.token }}
fetch-depth: 0
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sentry_delayed_job_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- { ruby_version: "head" }
- { ruby_version: 'jruby-head' }
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Install sqlite
run: |
# See https://github.community/t5/GitHub-Actions/ubuntu-latest-Apt-repository-list-issues/td-p/41122/page/2
Expand All @@ -68,6 +68,6 @@ jobs:

- name: Upload Coverage
if: ${{ matrix.options.codecov }}
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v5

Check failure on line 71 in .github/workflows/sentry_delayed_job_test.yml

View workflow job for this annotation

GitHub Actions / danger / danger

Please pin the action by specifying a commit SHA instead of a tag/branch.

Check failure on line 71 in .github/workflows/sentry_delayed_job_test.yml

View workflow job for this annotation

GitHub Actions / danger / danger

Please pin the action by specifying a commit SHA instead of a tag/branch.
with:
token: ${{ secrets.CODECOV_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/sentry_opentelemetry_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
exclude:
- { ruby_version: 'jruby-head' }
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4

- name: Set up Ruby ${{ matrix.ruby_version }}
uses: ruby/setup-ruby@v1
Expand All @@ -58,6 +58,6 @@ jobs:
run: bundle exec rake

- name: Upload Coverage
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v5

Check failure on line 61 in .github/workflows/sentry_opentelemetry_test.yml

View workflow job for this annotation

GitHub Actions / danger / danger

Please pin the action by specifying a commit SHA instead of a tag/branch.

Check failure on line 61 in .github/workflows/sentry_opentelemetry_test.yml

View workflow job for this annotation

GitHub Actions / danger / danger

Please pin the action by specifying a commit SHA instead of a tag/branch.
with:
token: ${{ secrets.CODECOV_TOKEN }}
6 changes: 4 additions & 2 deletions .github/workflows/sentry_rails_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,10 @@ jobs:
- { ruby_version: "3.1", rails_version: 7.2.0 }
- { ruby_version: "3.2", rails_version: 7.2.0 }
- { ruby_version: "3.3", rails_version: 7.2.0 }
- { ruby_version: "3.4", rails_version: 7.2.0 }
- { ruby_version: "3.2", rails_version: "8.0.0" }
- { ruby_version: "3.3", rails_version: "8.0.0" }
- { ruby_version: "3.4", rails_version: "8.0.0" }
- { ruby_version: "jruby", rails_version: 6.1.0 }
- {
ruby_version: "3.2",
Expand All @@ -67,7 +69,7 @@ jobs:
rails_version: 7.1.0
}
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Install sqlite and ImageMagick
run: |
# See https://github.community/t5/GitHub-Actions/ubuntu-latest-Apt-repository-list-issues/td-p/41122/page/2
Expand All @@ -84,6 +86,6 @@ jobs:
run: bundle exec rake

- name: Upload Coverage
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v5

Check failure on line 89 in .github/workflows/sentry_rails_test.yml

View workflow job for this annotation

GitHub Actions / danger / danger

Please pin the action by specifying a commit SHA instead of a tag/branch.

Check failure on line 89 in .github/workflows/sentry_rails_test.yml

View workflow job for this annotation

GitHub Actions / danger / danger

Please pin the action by specifying a commit SHA instead of a tag/branch.
with:
token: ${{ secrets.CODECOV_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/sentry_raven_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
rails_version: 6.0.0

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4

- name: Set up Ruby ${{ matrix.ruby_version }}
uses: ruby/setup-ruby@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sentry_resque_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
exclude:
- { ruby_version: 'jruby-head' }
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Set up Ruby ${{ matrix.ruby_version }}
uses: ruby/setup-ruby@v1
with:
Expand All @@ -67,6 +67,6 @@ jobs:
run: bundle exec rake

- name: Upload Coverage
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v5

Check failure on line 70 in .github/workflows/sentry_resque_test.yml

View workflow job for this annotation

GitHub Actions / danger / danger

Please pin the action by specifying a commit SHA instead of a tag/branch.

Check failure on line 70 in .github/workflows/sentry_resque_test.yml

View workflow job for this annotation

GitHub Actions / danger / danger

Please pin the action by specifying a commit SHA instead of a tag/branch.
with:
token: ${{ secrets.CODECOV_TOKEN }}
9 changes: 7 additions & 2 deletions .github/workflows/sentry_ruby_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,15 @@ jobs:
rack_version: 3.1,
redis_rb_version: 5.3
}
- {
ruby_version: 3.4,
rack_version: 3.1,
redis_rb_version: 5.3
}
exclude:
- { ruby_version: 'jruby-head' }
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4

- name: Set up Ruby ${{ matrix.ruby_version }}
uses: ruby/setup-ruby@v1
Expand All @@ -79,6 +84,6 @@ jobs:
run: bundle exec rake

- name: Upload Coverage
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v5

Check failure on line 87 in .github/workflows/sentry_ruby_test.yml

View workflow job for this annotation

GitHub Actions / danger / danger

Please pin the action by specifying a commit SHA instead of a tag/branch.

Check failure on line 87 in .github/workflows/sentry_ruby_test.yml

View workflow job for this annotation

GitHub Actions / danger / danger

Please pin the action by specifying a commit SHA instead of a tag/branch.
with:
token: ${{ secrets.CODECOV_TOKEN }}
13 changes: 6 additions & 7 deletions .github/workflows/sentry_sidekiq_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
fail-fast: false
matrix:
sidekiq_version: ["5.0", "6.5", "7.0"]
ruby_version: ["2.7", "3.0", "3.1", "3.2", "3.3", jruby]
ruby_version: ["2.7", "3.0", "3.1", "3.2", "3.3", "3.4", jruby]
include:
- { ruby_version: 2.4, sidekiq_version: 5.0 }
- { ruby_version: 2.5, sidekiq_version: 5.0 }
Expand All @@ -46,12 +46,11 @@ jobs:
rubyopt: "--enable-frozen-string-literal --debug=frozen-string-literal",
},
}
- {
ruby_version: "3.2",
sidekiq_version: 7.0
}
- { ruby_version: "3.2", sidekiq_version: 7.0 }
- { ruby_version: "3.3", sidekiq_version: 7.0 }
- { ruby_version: "3.4", sidekiq_version: 7.0 }
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4

- name: Set up Ruby ${{ matrix.ruby_version }}
uses: ruby/setup-ruby@v1
Expand All @@ -70,6 +69,6 @@ jobs:
run: bundle exec rake

- name: Upload Coverage
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v5

Check failure on line 72 in .github/workflows/sentry_sidekiq_test.yml

View workflow job for this annotation

GitHub Actions / danger / danger

Please pin the action by specifying a commit SHA instead of a tag/branch.

Check failure on line 72 in .github/workflows/sentry_sidekiq_test.yml

View workflow job for this annotation

GitHub Actions / danger / danger

Please pin the action by specifying a commit SHA instead of a tag/branch.
with:
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit d56a505

Please sign in to comment.