From 5d3ad75a2b94d82da5b2428f0e78ad55f255930f Mon Sep 17 00:00:00 2001
From: Koen Punt <koen@koenpunt.nl>
Date: Tue, 5 Nov 2019 17:03:56 +0100
Subject: [PATCH] Update example formatting (#57)

* adjust formatting of Carthage example

* enable syntax highlighting for Cargo example
---
 examples.md | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/examples.md b/examples.md
index ca571d8..8ba2bd7 100644
--- a/examples.md
+++ b/examples.md
@@ -36,6 +36,7 @@
 
 ## C# - Nuget
 Using [NuGet lock files](https://docs.microsoft.com/nuget/consume-packages/package-references-in-project-files#locking-dependencies):
+
 ```yaml
 - uses: actions/cache@v1
   with:
@@ -70,12 +71,12 @@ Using [NuGet lock files](https://docs.microsoft.com/nuget/consume-packages/packa
 ## Swift, Objective-C - Carthage
 
 ```yaml
-uses: actions/cache@v1
-      with:
-        path: Carthage
-        key: ${{ runner.os }}-carthage-${{ hashFiles('**/Cartfile.resolved') }}
-        restore-keys: |
-          ${{ runner.os }}-carthage-
+- uses: actions/cache@v1
+  with:
+    path: Carthage
+    key: ${{ runner.os }}-carthage-${{ hashFiles('**/Cartfile.resolved') }}
+    restore-keys: |
+      ${{ runner.os }}-carthage-
 ```
 
 ## Swift, Objective-C - CocoaPods
@@ -123,7 +124,7 @@ uses: actions/cache@v1
 
 ## Rust - Cargo
 
-```
+```yaml
 - name: Cache cargo registry
   uses: actions/cache@v1
   with: