From 4178c2710a1dfce2dc525cc08c8548adc6bedd3f Mon Sep 17 00:00:00 2001 From: Wael Nasreddine Date: Thu, 5 Dec 2024 16:22:49 -0800 Subject: [PATCH] GitHub: Improve go-test performance by enable Go cache (#37) Also remove platforms, I do not use them and they take a while to build. I left a TODO to enable other platforms later. --- .github/workflows/releases.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index cfeeac5..e033609 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -11,6 +11,7 @@ jobs: steps: - uses: actions/checkout@v4 - uses: ./.github/actions/setup_devbox + - uses: ./.github/actions/setup_go - uses: ./.github/actions/go_test docker: @@ -20,8 +21,9 @@ jobs: - uses: actions/checkout@v4 - uses: ./.github/actions/docker with: + # NOTE: Enable more platform when we have demand for them and I can test them. + # platforms: linux/amd64,linux/arm64,linux/arm/v7 images: kalbasit/ncps - platforms: linux/amd64,linux/arm64,linux/arm/v7 username: ${{ vars.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }}