Skip to content

Commit

Permalink
Update example formatting (#57)
Browse files Browse the repository at this point in the history
* adjust formatting of Carthage example

* enable syntax highlighting for Cargo example
  • Loading branch information
Koen Punt authored and Josh Gross committed Nov 5, 2019
1 parent d8c5e69 commit 5d3ad75
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -123,7 +124,7 @@ uses: actions/cache@v1
## Rust - Cargo
```
```yaml
- name: Cache cargo registry
uses: actions/cache@v1
with:
Expand Down

0 comments on commit 5d3ad75

Please sign in to comment.