name: identity-cache up: - ruby - bundler - memcached - mysql commands: test: syntax: optional: argument: file optional: args... desc: 'Run tests' run: | if [[ $# -eq 0 ]]; then bundle exec rake test else bundle exec ruby -I test "$@" fi style: desc: 'Run rubocop checks' run: bundle exec rubocop "$@" check: desc: 'Run tests and style checks' run: bundle exec rake test && bundle exec rubocop benchmark-cpu: desc: 'Run the identity cache CPU benchmark' run: bundle exec rake benchmark:cpu profile: desc: 'Profile IDC code' run: bundle exec rake profile:run update-serialization-format: desc: 'Update serialization format test fixture' run: bundle exec rake update_serialization_format