From 8ed96cba19d5f1654a6be0ccb6139fbe2b378f10 Mon Sep 17 00:00:00 2001 From: Plague Fox Date: Thu, 22 Aug 2024 04:04:58 +0400 Subject: [PATCH] feat: Update dependencies and improve WebSocket handling --- .github/workflows/checkout.yml | 5 ++--- Makefile | 6 +++--- example/echo/main.dart | 3 +++ 3 files changed, 8 insertions(+), 6 deletions(-) create mode 100644 example/echo/main.dart diff --git a/.github/workflows/checkout.yml b/.github/workflows/checkout.yml index 04f1601..088ae4d 100644 --- a/.github/workflows/checkout.yml +++ b/.github/workflows/checkout.yml @@ -41,7 +41,6 @@ jobs: pubspec.yaml lib test - example analysis_options.yaml README.md CHANGELOG.md @@ -77,12 +76,12 @@ jobs: - name: 🔎 Check format id: check-format timeout-minutes: 1 - run: dart format --set-exit-if-changed -l 80 -o none lib/ test/ example/ + run: dart format --set-exit-if-changed -l 80 -o none lib/ test/ - name: 📈 Check analyzer id: check-analyzer timeout-minutes: 1 - run: dart analyze --fatal-infos --fatal-warnings lib/ test/ example/ + run: dart analyze --fatal-infos --fatal-warnings lib/ test/ - name: 👀 Verify versions id: verify-versions diff --git a/Makefile b/Makefile index b15daa5..a1b5987 100644 --- a/Makefile +++ b/Makefile @@ -27,7 +27,7 @@ help: .PHONY: format format: ## Format the code - @dart format -l 80 --fix lib/ test/ example/ + @dart format -l 80 --fix lib/ test/ @dart fix --apply . .PHONY: get @@ -82,8 +82,8 @@ coverage: get ## Generate the coverage report .PHONY: analyze analyze: get ## Analyze the code - @dart format --set-exit-if-changed -l 80 -o none lib/ test/ example/ - @dart analyze --fatal-infos --fatal-warnings lib/ test/ example/ + @dart format --set-exit-if-changed -l 80 -o none lib/ test/ + @dart analyze --fatal-infos --fatal-warnings lib/ test/ .PHONY: check check: analyze publish-check ## Check the code diff --git a/example/echo/main.dart b/example/echo/main.dart new file mode 100644 index 0000000..696fcf6 --- /dev/null +++ b/example/echo/main.dart @@ -0,0 +1,3 @@ +import 'package:spinify/spinify.dart'; + +void main() => Spinify();