-
Notifications
You must be signed in to change notification settings - Fork 3
/
bitrise.yml
50 lines (47 loc) · 1.24 KB
/
bitrise.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
format_version: 9
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
workflows:
test:
before_run:
- audit-this-step
steps:
- go-list:
- golint:
- errcheck:
- go-test:
- change-workdir:
title: Switch working dir to ./_tmp dir
inputs:
- path: ./_tmp
- is_create_path: true
- path::./:
title: Step Test
inputs:
- packages: github.com/bitrise-steplib/steps-golint
# ----------------------------------------------------------------
# --- Utility workflows
dep-update:
title: Dep update
description: |
Used for updating bitrise dependencies with dep
steps:
- script:
title: Dependency update
inputs:
- content: |-
#!/bin/bash
set -ex
go get -u -v github.com/golang/dep/cmd/dep
dep ensure -v
dep ensure -v -update
# ----------------------------------------------------------------
# --- workflows to Share this step into a Step Library
audit-this-step:
steps:
- script:
title: Audit step.yml
inputs:
- content: |-
#!/bin/bash
set -ex
stepman audit --step-yml ./step.yml