Skip to content

Commit 37cb611

Browse files
authored
✨ Setup Github Action for UV (#3)
✨ Setup Uv configuration
2 parents 21a63c2 + d9cbd0e commit 37cb611

29 files changed

+33239
-2204
lines changed

.gitattributes

-3
This file was deleted.

.github/linters/.eslintrc.yml

-83
This file was deleted.

.github/linters/.markdown-lint.yml

-7
This file was deleted.

.github/linters/.yaml-lint.yml

-10
This file was deleted.

.github/linters/tsconfig.json

-9
This file was deleted.

.github/workflows/check-dist.yml

-64
This file was deleted.

.github/workflows/ci.yml

-62
This file was deleted.

.github/workflows/codeql-analysis.yml

-48
This file was deleted.

.github/workflows/default.yml

+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: default
2+
on:
3+
pull_request:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
# run linters and unit tests
10+
lint-and-test-units:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
- uses: actions/cache@v3
15+
id: npm-cache
16+
with:
17+
path: ~/.npm
18+
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
19+
restore-keys: |
20+
${{ runner.os }}-node-
21+
- run: npm install
22+
- run: npm run format:check
23+
- run: npm run test
24+
25+
# run action on a clean machine without building to check that it works as expected
26+
test-integration:
27+
runs-on: ${{ matrix.os }}
28+
29+
strategy:
30+
matrix:
31+
python-version:
32+
- "3.8"
33+
- "3.9"
34+
- "3.10"
35+
- "3.11"
36+
- "3.12"
37+
uv-version:
38+
- "0.1.2"
39+
os:
40+
- macos-latest
41+
- ubuntu-latest
42+
- windows-latest
43+
fail-fast: true
44+
45+
steps:
46+
- uses: actions/checkout@v3
47+
- uses: actions/setup-python@v4
48+
with:
49+
python-version: ${{ matrix.python-version }}
50+
- uses: ./
51+
with:
52+
uv-version: ${{ matrix.uv-version }}
53+
- run: uv --version

.github/workflows/linter.yml

-45
This file was deleted.

CODEOWNERS

-3
This file was deleted.

0 commit comments

Comments
 (0)