From 8bbf5cf3f2a8efec87e80260f57ffc42ce7ebc0d Mon Sep 17 00:00:00 2001 From: suxb201 Date: Tue, 27 Sep 2022 10:28:50 +0800 Subject: [PATCH] add Golang build cache for ci --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9265ae1a..e84657e4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,6 +12,11 @@ jobs: - name: Git checkout uses: actions/checkout@v2 + - name: Setup Golang with cache + uses: magnetikonline/action-golang-cache@v3 + with: + go-version-file: go.mod + - name: clone and make redis run: | sudo apt-get install git