Online Single-Machine Scheduling via Reinforcement Learning