Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update GitHub actions and gem versions #159

Merged
merged 5 commits into from
Jan 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "bundler"
directory: "/"
schedule:
interval: "daily"
10 changes: 6 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
name: noop run

on:
- pull_request
- push
pull_request:
push:
branches:
- master

jobs:
unit:
runs-on: ubuntu-latest
name: Run msync --noop against all modules
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0
ruby-version: 3
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will that use the latest 3.x release? Don't you want a specific minor release like "3.4"?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wasn't sure. I kind of like just using the latest since then we don't need to update it. I'd rather spend time fixing compatibility with the latest than to keep some value up to date. Our use of modulesync is also really light.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it already does, as 3.0 is not a string, but a float, which is… 3, so that change is just making it more explicit

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exactly what I wrote in my commit message :)

bundler-cache: true
- name: Run msync --noop
run: bundle exec msync update --noop --git-base=https://github.com/
6 changes: 3 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
source 'https://rubygems.org'

gem 'metadata_json_deps', '~> 0.5.0'
gem 'modulesync', '~> 2.0'
gem 'puppet_metadata', '~> 1.0'
gem 'metadata_json_deps', '~> 2.0'
gem 'modulesync', '~> 3.0'
gem 'puppet_metadata', '~> 4.0'
gem 'rake', '~> 13.0'
Loading