Update actions/checkout and ruby/setup-ruby to latest versions for improved performance and security.