Skip to content

Commit

Permalink
chore(ci): fix go deps
Browse files Browse the repository at this point in the history
  • Loading branch information
heronimus committed Nov 1, 2023
1 parent ee92ae1 commit e946a13
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,30 @@ on:
push:
branches:
- main

env:
GO_VERSION: 1.21.0

jobs:
e2e:
name: E2E Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Golang
uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
- name: Cache Golang Deps
uses: actions/cache@v3
with:
path: |
~/.cache/go-build
/home/runner/go
key: ${{ runner.os }}-golang-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-golang-
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Cache Docker images
Expand All @@ -23,8 +40,6 @@ jobs:
unit-test-coverage:
name: Unit Test - Coverage
runs-on: ubuntu-latest
env:
GO_VERSION: 1.21.0
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit e946a13

Please sign in to comment.