File tree 2 files changed +13
-4
lines changed
2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 8
8
- main
9
9
10
10
jobs :
11
- deploy :
12
- name : Build and Deploy
11
+ lint :
12
+ # We need to use 5.10 for Publish (Swift 6 breaks) and that doesn't have an up to date version
13
+ # of python so run lint in a separate job
14
+ name : Lint
13
15
runs-on : ubuntu-latest
14
- container : swift:5.10
15
16
steps :
16
17
- name : Checkout code
17
18
uses : actions/checkout@v4
23
24
uses : ScottBrenner/cfn-lint-action@v2
24
25
- name : Run CloudFormation linter
25
26
run : cfn-lint -t stack.yaml
27
+ deploy :
28
+ needs : lint
29
+ name : Build and Deploy
30
+ runs-on : ubuntu-latest
31
+ container : swift:5.10
32
+ steps :
33
+ - name : Checkout code
34
+ uses : actions/checkout@v4
26
35
- name : Build site
27
36
run : swift run
28
37
- name : Deploy S3 Website
Original file line number Diff line number Diff line change 24
24
"location" : " https://github.com/vapor/design.git" ,
25
25
"state" : {
26
26
"branch" : " main" ,
27
- "revision" : " f51a9550c6b0b302635e8a6c57427ae4ff922810 "
27
+ "revision" : " e44b1b8e976f027d42d052210cc3ef1ba0a767b0 "
28
28
}
29
29
},
30
30
{
You can’t perform that action at this time.
0 commit comments