File tree Expand file tree Collapse file tree 2 files changed +33
-3
lines changed
Expand file tree Collapse file tree 2 files changed +33
-3
lines changed Original file line number Diff line number Diff line change @@ -20,10 +20,10 @@ jobs:
2020 - name : Checkout Code
2121 uses : actions/checkout@v4
2222
23- - name : Setting python versi 3.11
24- uses : actions/setup-python@v4
23+ - name : Setting python versi 3.12
24+ uses : actions/setup-python@v5
2525 with :
26- python-version : " 3.11 "
26+ python-version : " 3.12 "
2727
2828 - name : Cache pip dependecies
2929 uses : actions/cache@v4
Original file line number Diff line number Diff line change 1+ name : Python Testing
2+
3+ on :
4+ pull_request :
5+ branches : [main]
6+
7+ jobs :
8+ build :
9+ # menjalankan testing dengan 3 os yaitu
10+ # linux (ubuntu), windows, dan macOS
11+ runs-on : ${{ matrix.os }}
12+
13+ strategy :
14+ matrix :
15+ os : [macos-latest, windows-latest, ubuntu-latest]
16+
17+ steps :
18+ - name : Checkout Code
19+ uses : actions/checkout@v4
20+
21+ - name : Install uv
22+ uses : astral-sh/setup-uv@v5
23+
24+ - name : Setting python
25+ uses : actions/setup-python@v5
26+ with :
27+ python-version-file : " .python-version"
28+
29+ - name : run testing
30+ run : uv run flake8 .
You can’t perform that action at this time.
0 commit comments