Skip to content

Commit

Permalink
feat: Update dependencies and improve WebSocket handling
Browse files Browse the repository at this point in the history
  • Loading branch information
PlugFox committed Aug 22, 2024
1 parent 3f7a704 commit 8ed96cb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/checkout.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ jobs:
pubspec.yaml
lib
test
example
analysis_options.yaml
README.md
CHANGELOG.md
Expand Down Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions example/echo/main.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import 'package:spinify/spinify.dart';

void main() => Spinify();

0 comments on commit 8ed96cb

Please sign in to comment.