Skip to content

Commit adff45c

Browse files
committed
Update generate.yml
1 parent badf781 commit adff45c

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.github/workflows/generate.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: "generate"
2+
3+
on: [push]
4+
5+
jobs:
6+
test:
7+
runs-on: macos-12
8+
env:
9+
MINT_PATH: "~/mint_cache"
10+
11+
steps:
12+
- uses: actions/checkout@v3
13+
14+
- name: Cache Mint
15+
id: cache-mint
16+
uses: actions/cache@v3
17+
with:
18+
path: ~/mint_cache
19+
key: cache
20+
21+
- name: Generate project and run tests
22+
run: |
23+
brew install cookiecutter mint
24+
cookiecutter --no-input -f .
25+
cd Project
26+
mint bootstrap
27+
swift test

0 commit comments

Comments
 (0)