Skip to content

Commit 4be8fae

Browse files
author
Rafid Bin Mostofa
committed
ci(install-slices): no need to checkout main
1 parent f877298 commit 4be8fae

2 files changed

Lines changed: 3 additions & 11 deletions

File tree

.github/scripts/install-slices/deb-requirements.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/workflows/install-slices.yaml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,6 @@ jobs:
105105
matrix: ${{ fromJson(needs.prepare-install.outputs.matrix) }}
106106
env:
107107
install-all: ${{ needs.prepare-install.outputs.install-all }}
108-
main-branch-ref: ${{ needs.prepare-install.outputs.checkout-main-ref }}
109-
main-branch-path: files-from-main
110108
steps:
111109
- uses: actions/checkout@v4
112110
with:
@@ -133,16 +131,11 @@ jobs:
133131

134132
- name: Setup Go environment
135133
uses: actions/setup-go@v5
136-
137-
- name: Checkout main branch
138-
uses: actions/checkout@v4
139134
with:
140-
ref: ${{ env.main-branch-ref }}
141-
path: ${{ env.main-branch-path }}
135+
go-version: '>=1.24'
136+
check-latest: true
142137

143138
- name: Install dependencies
144-
env:
145-
script-dir: "${{ env.main-branch-path }}/.github/scripts/install-slices"
146139
run: |
147140
set -ex
148141
@@ -156,7 +149,7 @@ jobs:
156149
157150
# Install additional apt dependencies.
158151
sudo apt-get -y update
159-
sudo apt-get install -y $(cat "${{ env.script-dir }}/deb-requirements.txt")
152+
sudo apt-get install -y devscripts # for rmadison
160153
161154
# TODO: As we are installing the slices for every (ref, arch), when
162155
# installing all slices, we are also checking the existence of every

0 commit comments

Comments
 (0)