File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ name: dependency-review
77 paths :
88 - Gemfile
99 - Gemfile.lock
10- - transcode .gemspec
10+ - ' * .gemspec'
1111 - .github/workflows/dependency-review.yml
1212permissions :
1313 contents : read
Original file line number Diff line number Diff line change 2929 steps :
3030 - uses : actions/checkout@v7.0.1
3131 with :
32- persist-credentials : false
3332 fetch-depth : 0
33+ persist-credentials : false
3434 - uses : gitleaks/gitleaks-action@v3.0.0
3535 env :
3636 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -5,7 +5,10 @@ name: pages
55' on ' :
66 push :
77 branches : [master]
8- paths : [README.adoc, .github/pages/**]
8+ paths :
9+ - README.adoc
10+ - .github/pages/**
11+ - .github/workflows/pages.yml
912 workflow_dispatch :
1013permissions :
1114 contents : read
Original file line number Diff line number Diff line change 3535 - windows-2022
3636 - windows-2025
3737 ruby :
38- - 3.2
39- - 3.3
40- - 3.4
38+ - ' 3.2'
39+ - ' 3.3'
40+ - ' 3.4'
41+ - ' 4.0'
4142 include :
4243 - os : ubuntu-24.04
4344 ruby : head
Original file line number Diff line number Diff line change @@ -23,11 +23,14 @@ jobs:
2323 persist-credentials : false
2424 - uses : ruby/setup-ruby@v1.336.0
2525 with :
26- ruby-version : ' 3.4 '
26+ ruby-version : ' 4.0 '
2727 - name : Verify the tag matches the gem version
2828 run : |
2929 ver="$(ruby -Ilib -rtranscode/version -e 'puts Transcode::VERSION')"
3030 test "$ver" = "$GITHUB_REF_NAME"
31+ - run : |
32+ bundle install
33+ bundle exec rake
3134 - uses : rubygems/configure-rubygems-credentials@v2.1.0
3235 - run : gem build transcode.gemspec
3336 - run : gem push "transcode-$GITHUB_REF_NAME.gem"
Original file line number Diff line number Diff line change 33#
44# The pull-requests:write permission below is scoped to the rubocop job
55# alone (not the workflow default) so that reviewdog can post inline
6- # review comments on the triggering pull request.
6+ # review comments on the triggering pull request. The github-pr-review
7+ # reporter replaces the default github-pr-check one for the same reason.
78---
89name : rubocop
910' on ' :
@@ -41,10 +42,10 @@ jobs:
4142 persist-credentials : false
4243 - uses : ruby/setup-ruby@v1.336.0
4344 with :
44- ruby-version : 3.2
45+ ruby-version : ' 3.2'
4546 bundler-cache : true
4647 - uses : reviewdog/action-rubocop@v2.22.0
4748 with :
48- reporter : github-pr-review # Default is github-pr-check
49+ reporter : github-pr-review
4950 skip_install : true
5051 use_bundler : true
Original file line number Diff line number Diff line change 2727 persist-credentials : false
2828 - uses : ibiqlik/action-yamllint@v3.1.1
2929 with :
30- file_or_dir : >
31- ./.github/*.yml
32- ./.github/workflows/*.yml
33- ./.rubocop.yml
30+ file_or_dir : .
3431 strict : true
You can’t perform that action at this time.
0 commit comments