omarsol commited on
Commit
34df860
·
1 Parent(s): 3cadbf8

Update CI workflows to use latest action versions

Browse files

- Upgraded `actions/checkout` from v4 to v6 across multiple workflows for improved performance and features.
- Updated `astral-sh/setup-uv` to pin the exact release at v8.2.0 due to changes in major tag publishing.
- Changed `actions/setup-python` from v5 to v6 to leverage the latest enhancements.

.github/workflows/ci.yml CHANGED
@@ -15,15 +15,16 @@ jobs:
15
  name: Lint & format
16
  runs-on: ubuntu-latest
17
  steps:
18
- - uses: actions/checkout@v4
19
 
20
  - name: Install uv
21
- uses: astral-sh/setup-uv@v4
 
22
  with:
23
  enable-cache: true
24
 
25
  - name: Set up Python
26
- uses: actions/setup-python@v5
27
  with:
28
  python-version-file: ".python-version"
29
 
@@ -40,19 +41,20 @@ jobs:
40
  name: Tests
41
  runs-on: ubuntu-latest
42
  steps:
43
- - uses: actions/checkout@v4
44
 
45
  # run_kb_command sandbox tests shell out to ripgrep; without it they skip.
46
  - name: Install ripgrep
47
  run: sudo apt-get update && sudo apt-get install -y ripgrep
48
 
49
  - name: Install uv
50
- uses: astral-sh/setup-uv@v4
 
51
  with:
52
  enable-cache: true
53
 
54
  - name: Set up Python
55
- uses: actions/setup-python@v5
56
  with:
57
  python-version-file: ".python-version"
58
 
 
15
  name: Lint & format
16
  runs-on: ubuntu-latest
17
  steps:
18
+ - uses: actions/checkout@v6
19
 
20
  - name: Install uv
21
+ # setup-uv stopped publishing major tags (v8+); pin the exact release.
22
+ uses: astral-sh/setup-uv@v8.2.0
23
  with:
24
  enable-cache: true
25
 
26
  - name: Set up Python
27
+ uses: actions/setup-python@v6
28
  with:
29
  python-version-file: ".python-version"
30
 
 
41
  name: Tests
42
  runs-on: ubuntu-latest
43
  steps:
44
+ - uses: actions/checkout@v6
45
 
46
  # run_kb_command sandbox tests shell out to ripgrep; without it they skip.
47
  - name: Install ripgrep
48
  run: sudo apt-get update && sudo apt-get install -y ripgrep
49
 
50
  - name: Install uv
51
+ # setup-uv stopped publishing major tags (v8+); pin the exact release.
52
+ uses: astral-sh/setup-uv@v8.2.0
53
  with:
54
  enable-cache: true
55
 
56
  - name: Set up Python
57
+ uses: actions/setup-python@v6
58
  with:
59
  python-version-file: ".python-version"
60
 
.github/workflows/deploy-prod-to-hf.yml CHANGED
@@ -10,7 +10,7 @@ jobs:
10
  deploy-prod:
11
  runs-on: ubuntu-latest
12
  steps:
13
- - uses: actions/checkout@v3
14
  with:
15
  fetch-depth: 0
16
  lfs: true
 
10
  deploy-prod:
11
  runs-on: ubuntu-latest
12
  steps:
13
+ - uses: actions/checkout@v6
14
  with:
15
  fetch-depth: 0
16
  lfs: true
.github/workflows/sync-to-hf.yml CHANGED
@@ -18,7 +18,7 @@ jobs:
18
  deploy-dev:
19
  runs-on: ubuntu-latest
20
  steps:
21
- - uses: actions/checkout@v3
22
  with:
23
  fetch-depth: 0
24
  lfs: true
 
18
  deploy-dev:
19
  runs-on: ubuntu-latest
20
  steps:
21
+ - uses: actions/checkout@v6
22
  with:
23
  fetch-depth: 0
24
  lfs: true