18 lines
449 B
YAML
18 lines
449 B
YAML
when:
|
|
- event: pull_request
|
|
path:
|
|
include: ['.woodpecker/useragent-*.yaml', 'useragent/**']
|
|
- event: push
|
|
branch: main
|
|
path:
|
|
include: ['.woodpecker/useragent-*.yaml', 'useragent/**']
|
|
|
|
steps:
|
|
- name: analyze
|
|
image: jdxcode/mise:latest
|
|
commands:
|
|
- mise install flutter
|
|
- mise install protoc
|
|
# Reruns codegen to catch protocol drift
|
|
- mise codegen
|
|
- cd useragent/ && flutter analyze |