From be10b18a49ce599d01e27d858abe3eed08e40c59 Mon Sep 17 00:00:00 2001 From: Felipe Martinez Date: Fri, 21 Jun 2024 21:41:58 +0000 Subject: [PATCH] Add Go cache --- .github/workflows/main.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 60cc555..75fc77b 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -15,10 +15,10 @@ jobs: - name: Install dependencies run: sudo apt-get update && sudo apt-get install -y wget gcc-12 g++ make cmake pkg-config libx11-dev libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev libopengl-dev libglx-dev libglu1-mesa-dev freeglut3-dev libxxf86vm-dev - - name: Install Go - run: | - wget https://go.dev/dl/go1.22.3.linux-amd64.tar.gz - sudo tar -C /usr/local -xzf go1.22.3.linux-amd64.tar.gz + - name: Setup Golang with cache + uses: magnetikonline/action-golang-cache@v5 + with: + go-version-file: go.mod - name: Build libinfiniemu run: |