Skip to content

Commit cf1e471

Browse files
committed
🏄 update github ci actions
1 parent 5738a57 commit cf1e471

5 files changed

Lines changed: 144 additions & 141 deletions

File tree

.github/workflows/auto_rebase.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout the latest code
12-
uses: actions/checkout@v3
12+
uses: actions/checkout@v4
1313
with:
1414
token: ${{ secrets.GH_PAT }}
1515
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo

.github/workflows/build.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,9 @@ jobs:
106106

107107
# Build server
108108
- name: setup python
109-
uses: actions/setup-python@v4
109+
uses: actions/setup-python@v6
110110
with:
111-
python-version: 3.8
111+
python-version: "3.10"
112112

113113
- name: cache cargo
114114
uses: actions/cache@v3
@@ -126,7 +126,9 @@ jobs:
126126
run: python3 -m pip install pyoxidizer
127127

128128
- name: install poetry
129-
uses: snok/install-poetry@v1
129+
run: |
130+
pipx install poetry
131+
pipx inject poetry poetry-plugin-export
130132
131133
- name: build server
132134
run: ./server/build_server.sh
@@ -187,7 +189,7 @@ jobs:
187189
mac_certs_password: ${{ secrets.mac_certs_password }}
188190

189191
- name: upload artifacts to github actions
190-
uses: actions/upload-artifact@v3
192+
uses: actions/upload-artifact@v5
191193
with:
192194
name: build-${{matrix.os}}
193195
path: |

.github/workflows/check.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ jobs:
99
lint:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v3
13-
- uses: actions/setup-python@v4
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-python@v6
1414
with:
15-
python-version: 3.8
16-
- uses: actions/setup-node@v3
15+
python-version: "3.10"
16+
- uses: actions/setup-node@v6
1717
with:
1818
node-version: 16
1919
cache: 'npm'
@@ -26,11 +26,11 @@ jobs:
2626
test:
2727
runs-on: ubuntu-latest
2828
steps:
29-
- uses: actions/checkout@v3
30-
- uses: actions/setup-python@v4
29+
- uses: actions/checkout@v4
30+
- uses: actions/setup-python@v6
3131
with:
32-
python-version: 3.8
33-
- uses: actions/setup-node@v3
32+
python-version: "3.10"
33+
- uses: actions/setup-node@v6
3434
with:
3535
node-version: 16
3636
cache: 'npm'

0 commit comments

Comments
 (0)