.gitlab-ci.yml: cache config validation with multiple caches is failing

GitLab version: v13.9.2

Summary

I want to use multiple cache in gitlab ci. And I'm an error:

jobs:test-job:cache config should be a hash
jobs:test-job:cache config should be a hash

Steps to reproduce

I go to documentation copy paste snippet
Paste it into Gitlab CI Lint tool docs

Example Project

What is the expected correct behavior?

YAML is valid or documentation should by updated.

Relevant logs and/or screenshots

image

Possible fixes

Edited by Ździś Jankowicz