Skip to content

Commit 8f0f113

Browse files
committed
replace cache with direct package install
1 parent f9976a3 commit 8f0f113

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

.github/workflows/build.yml

+11-7
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,17 @@ jobs:
1818
- name: Set up Golang
1919
uses: actions/setup-go@v5
2020
with:
21-
go-version: '1.23'
21+
go-version: '1.23'
22+
23+
- name: Install etcd
24+
if: runner.os == 'Linux'
25+
run: |
26+
curl -L https://github.com/etcd-io/etcd/releases/download/v3.5.18/etcd-v3.5.18-linux-amd64.tar.gz -o etcd.tar.gz
27+
tar xzvf etcd.tar.gz
28+
sudo mv etcd/etcd /usr/local/bin/
29+
sudo mv etcd/etcdctl /usr/local/bin/
30+
etcd --version
31+
sudo apt install -y etcd ncat
2232
2333
- name: Get dependencies
2434
run: |
@@ -34,12 +44,6 @@ jobs:
3444
version: latest
3545
args: --verbose
3646

37-
- uses: awalsh128/cache-apt-pkgs-action@latest
38-
if: runner.os == 'Linux'
39-
with:
40-
packages: etcd ncat
41-
version: 1.0
42-
4347
- name: Test E2E
4448
if: runner.os == 'Linux'
4549
run: |

0 commit comments

Comments
 (0)