From d57bf2ef8057c3f904208e88a2ffb9a1c7446e6b Mon Sep 17 00:00:00 2001 From: "Alexander \"PapaTutuWawa" Date: Tue, 22 Aug 2023 20:02:43 +0200 Subject: [PATCH] fix(ci): Use the pubcached pub.dev cache --- .woodpecker.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 13895d0..7f03a30 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -7,12 +7,15 @@ pipeline: image: dart:2.18.1 commands: - 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 + moxxmpp-test: image: dart:2.18.1 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 test @@ -21,14 +24,17 @@ pipeline: image: dart:2.18.1 commands: - 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 + # moxxmpp-test: # image: dart:2.18.1 # commands: # - cd packages/moxxmpp # - dart pub get # - dart test + notify: image: git.polynom.me/papatutuwawa/woodpecker-xmpp settings: