Skip to content

Commit c21d548

Browse files
committed
feat: V1 (#51)
1 parent 753ab29 commit c21d548

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+8222
-349
lines changed

.github/workflows/analyze.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

.github/workflows/code-quality.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Code Quality
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
9+
jobs:
10+
analyze:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Setup Dart
15+
uses: dart-lang/setup-dart@v1
16+
with:
17+
sdk: 'stable'
18+
- name: Install DPK
19+
run: dart pub global activate dpk
20+
- name: Run dpk get
21+
run: dpk get
22+
- name: Run code generation on example app
23+
run: dpk run example:build
24+
- name: Analyze
25+
run: dpk run analyze
26+
27+
format:
28+
runs-on: ubuntu-latest
29+
steps:
30+
- uses: actions/checkout@v2
31+
- name: Setup Dart
32+
uses: dart-lang/setup-dart@v1
33+
with:
34+
sdk: 'stable'
35+
- name: Install DPK
36+
run: dart pub global activate dpk
37+
- name: Run dpk get
38+
run: dpk get
39+
- name: Format
40+
run: dpk run format

.github/workflows/test.yml

Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
name: Test All Packages
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
9+
jobs:
10+
test-arcade:
11+
name: Test arcade
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- name: Setup Dart
17+
uses: dart-lang/setup-dart@v1
18+
with:
19+
sdk: 'stable'
20+
21+
- name: Install DPK
22+
run: dart pub global activate dpk
23+
24+
- name: Start Redis with Docker Compose
25+
uses: hoverkraft-tech/[email protected]
26+
with:
27+
compose-file: docker-compose.yml
28+
services: redis
29+
30+
- name: Run dpk get
31+
run: dpk get
32+
33+
- name: Run tests
34+
run: dpk run test:arcade
35+
36+
test-arcade-cache:
37+
name: Test arcade_cache
38+
runs-on: ubuntu-latest
39+
steps:
40+
- uses: actions/checkout@v4
41+
42+
- name: Setup Dart
43+
uses: dart-lang/setup-dart@v1
44+
with:
45+
sdk: 'stable'
46+
47+
- name: Install DPK
48+
run: dart pub global activate dpk
49+
50+
- name: Run dpk get
51+
run: dpk get
52+
53+
- name: Run tests
54+
run: dpk run test:cache
55+
56+
test-arcade-cache-redis:
57+
name: Test arcade_cache_redis
58+
runs-on: ubuntu-latest
59+
steps:
60+
- uses: actions/checkout@v4
61+
62+
- name: Setup Dart
63+
uses: dart-lang/setup-dart@v1
64+
with:
65+
sdk: 'stable'
66+
67+
- name: Install DPK
68+
run: dart pub global activate dpk
69+
70+
- name: Start Redis with Docker Compose
71+
uses: hoverkraft-tech/[email protected]
72+
with:
73+
compose-file: docker-compose.yml
74+
services: redis
75+
76+
- name: Run dpk get
77+
run: dpk get
78+
79+
- name: Run tests
80+
run: dpk run test:redis
81+
82+
test-arcade-test:
83+
name: Test arcade_test
84+
runs-on: ubuntu-latest
85+
steps:
86+
- uses: actions/checkout@v4
87+
88+
- name: Setup Dart
89+
uses: dart-lang/setup-dart@v1
90+
with:
91+
sdk: 'stable'
92+
93+
- name: Install DPK
94+
run: dart pub global activate dpk
95+
96+
- name: Run dpk get
97+
run: dpk get
98+
99+
- name: Run tests
100+
run: dpk run test:test
101+
102+
test-arcade-views:
103+
name: Test arcade_views
104+
runs-on: ubuntu-latest
105+
steps:
106+
- uses: actions/checkout@v4
107+
108+
- name: Setup Dart
109+
uses: dart-lang/setup-dart@v1
110+
with:
111+
sdk: 'stable'
112+
113+
- name: Install DPK
114+
run: dart pub global activate dpk
115+
116+
- name: Run dpk get
117+
run: dpk get
118+
119+
- name: Run tests
120+
run: dpk run test:views
121+
122+
test-arcade-swagger:
123+
name: Test arcade_swagger
124+
runs-on: ubuntu-latest
125+
steps:
126+
- uses: actions/checkout@v4
127+
128+
- name: Setup Dart
129+
uses: dart-lang/setup-dart@v1
130+
with:
131+
sdk: 'stable'
132+
133+
- name: Install DPK
134+
run: dart pub global activate dpk
135+
136+
- name: Run dpk get
137+
run: dpk get
138+
139+
- name: Run tests
140+
run: dpk run test:swagger

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Arcade
22

3-
> [!CAUTION]
4-
> Arcade is in alpha and is not ready for production use
5-
63
Arcade is a backend framework for Dart developers, focused on simplicity and a streamlined developer experience
4+
5+
See [documentation](https://arcade.ex3.dev)

0 commit comments

Comments
 (0)