Skip to content

Commit

Permalink
Add Go cache
Browse files Browse the repository at this point in the history
  • Loading branch information
pipe01 committed Jun 21, 2024
1 parent e2aa8cb commit be10b18
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit be10b18

Please sign in to comment.