You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
curl -LsSf https://astral.sh/uv/0.11.6/install.sh | sh
35
42
```
36
43
37
44
```bash
38
-
hatch config set dirs.env.virtual .hatch
45
+
uv python install
39
46
```
40
47
41
48
```bash
42
-
hatch config show
49
+
uv audit --verbose
43
50
```
44
51
45
52
```bash
46
-
hatch env create
53
+
uv run glone --help
47
54
```
48
55
49
56
```bash
50
-
hatch status
57
+
GITHUB_ACCESS_TOKEN="op://Development/glone/GITHUB_ACCESS_TOKEN" op run -- uv run glone
51
58
```
52
59
53
60
```bash
54
-
hatch env show
61
+
uv run mypy
55
62
```
56
63
57
64
```bash
58
-
hatch dep show table
65
+
uv run ruff format
59
66
```
60
67
61
68
```bash
62
-
hatch run pip list
69
+
uv run ruff check --fix
63
70
```
64
71
65
72
```bash
66
-
hatch run glone --help
73
+
uv build
67
74
```
68
75
69
-
```bash
70
-
hatch run glone
71
-
```
76
+
### GitHub Actions
72
77
73
78
```bash
74
-
hatch run lint
79
+
zizmor .
75
80
```
76
81
77
82
```bash
78
-
hatch run format
83
+
pinact run -u --min-age 7
79
84
```
80
85
81
86
### Get a GitHub token
@@ -88,32 +93,26 @@ hatch run format
88
93
89
94
## Deployment
90
95
91
-
```bash
92
-
hatch version micro
93
-
```
96
+
- Create the `release`[GitHub Actions environment](https://github.com/joaopalmeiro/glone/settings/environments) (if necessary).
97
+
-[Add a trusted publisher to an existing PyPI project](https://docs.pypi.org/trusted-publishers/adding-a-publisher/) or [create a new one with a trusted publisher](https://docs.pypi.org/trusted-publishers/creating-a-project-through-oidc/) (if necessary).
94
98
95
99
```bash
96
-
hatch version minor
100
+
uv version --bump patch
97
101
```
98
102
99
103
```bash
100
-
hatch version major
104
+
uv version --bump minor
101
105
```
102
106
103
107
```bash
104
-
hatch build --clean
108
+
uv version --bump major
105
109
```
106
110
107
111
```bash
108
-
echo"v$(hatch version)"| pbcopy
112
+
echo"v$(uv version --short)"| pbcopy
109
113
```
110
114
111
115
- Commit and push changes.
112
116
- Create a tag on [GitHub Desktop](https://github.blog/2020-05-12-create-and-push-tags-in-the-latest-github-desktop-2-5-release/).
0 commit comments