Skip to content

Commit

Permalink
feat: add check for publishable packages
Browse files Browse the repository at this point in the history
  • Loading branch information
dtscalac committed Jun 27, 2024
1 parent 6bff832 commit 22caf3a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
11 changes: 8 additions & 3 deletions catalyst_voices/Earthfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
VERSION 0.8

IMPORT ../catalyst-gateway AS catalyst-gateway
IMPORT github.com/input-output-hk/catalyst-ci/earthly/flutter:v3.1.10 AS flutter-ci
IMPORT github.com/input-output-hk/catalyst-ci/earthly/flutter:v3.1.11 AS flutter-ci

# Copy all the necessary files and running bootstrap
builder:
Expand Down Expand Up @@ -37,16 +37,21 @@ check-flutter-code-generator:
# Check diff between local code and earthly artifacts
RUN diff /tmp/repo_generated lib/generated/catalyst_gateway

# Runs static analysis on the code
# Runs static analysis on the code.
check-static-analysis:
FROM +builder
DO flutter-ci+ANALYZE

# Runs code formatting checks
# Runs code formatting checks.
check-code-formatting:
FROM +builder
DO flutter-ci+FORMAT

# Runs dry-run publish to verify that publishable packages can be published.
check-package-publishing:
FROM +builder
DO flutter-ci+PUBLISH_DRY_RUN

# Build web version of Catalyst Voices without arguments.
# This is used for development purposes to validate build on PRs.
build-web-on-pr:
Expand Down
2 changes: 1 addition & 1 deletion catalyst_voices/uikit_example/Earthfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
VERSION 0.8

IMPORT ../ AS catalyst-voices
IMPORT github.com/input-output-hk/catalyst-ci/earthly/flutter:v3.1.10 AS flutter-ci
IMPORT github.com/input-output-hk/catalyst-ci/earthly/flutter:v3.1.11 AS flutter-ci

# local-build-web - build web version of UIKit example.
# Prefixed by "local" to make sure it's not auto triggered, the target was
Expand Down

0 comments on commit 22caf3a

Please sign in to comment.