The Unity Machine Learning Agents Toolkit (ML-Agents) is an open-source project that enables games and simulations to serve as environments for training intelligent agents using deep reinforcement learning and imitation learning.
Fix pre-commit action failures: switch to ruby/setup-ruby (#6063)
Fixes pre-commit errors of the form:
```
Run actions/setup-ruby@v1
with:
ruby-version: 2.6
env:
pythonLocation: /opt/hostedtoolcache/Python/3.10.13/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.10.13/x64/lib
ImageOS: ubuntu20
------------------------
NOTE: This action is deprecated and is no longer maintained.
Please, migrate to https://github.com/ruby/setup-ruby, which is being actively maintained.
------------------------
Error: Version 2.6 not found
```
While we're upgrading this pre-commit, also upgrade from ruby 2.6 to ruby 2.7. A
alex-mccarthy-unity committed
86a3a6e5f75ffb86ad2993ed2a0fb3169779d17e
Parent: f442194
Committed by GitHub <noreply@github.com>
on 3/4/2024, 1:46:49 PM