fix(ci): Use the pubcached pub.dev cache
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
PapaTutuWawa 2023-08-22 20:02:43 +02:00
parent 8bfdd5e54a
commit d57bf2ef80

View File

@ -7,12 +7,15 @@ pipeline:
image: dart:2.18.1 image: dart:2.18.1
commands: commands:
- cd packages/moxxmpp - cd packages/moxxmpp
- dart pub get # Proxy requests to pub.dev using pubcached
- PUB_HOSTED_URL=http://172.17.0.1:8000 dart pub get
- dart analyze --fatal-infos --fatal-warnings - dart analyze --fatal-infos --fatal-warnings
moxxmpp-test: moxxmpp-test:
image: dart:2.18.1 image: dart:2.18.1
commands: commands:
- cd packages/moxxmpp # Proxy requests to pub.dev using pubcached
- PUB_HOSTED_URL=http://172.17.0.1:8000 dart pub get
- dart pub get - dart pub get
- dart test - dart test
@ -21,14 +24,17 @@ pipeline:
image: dart:2.18.1 image: dart:2.18.1
commands: commands:
- cd packages/moxxmpp_socket_tcp - cd packages/moxxmpp_socket_tcp
- dart pub get # Proxy requests to pub.dev using pubcached
- PUB_HOSTED_URL=http://172.17.0.1:8000 dart pub get
- dart analyze --fatal-infos --fatal-warnings - dart analyze --fatal-infos --fatal-warnings
# moxxmpp-test: # moxxmpp-test:
# image: dart:2.18.1 # image: dart:2.18.1
# commands: # commands:
# - cd packages/moxxmpp # - cd packages/moxxmpp
# - dart pub get # - dart pub get
# - dart test # - dart test
notify: notify:
image: git.polynom.me/papatutuwawa/woodpecker-xmpp image: git.polynom.me/papatutuwawa/woodpecker-xmpp
settings: settings: