Skip to content
This repository has been archived by the owner on Jun 9, 2024. It is now read-only.

chore(actions): bump setup-go #1263

Merged
merged 1 commit into from
Oct 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 13 additions & 22 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,11 @@ jobs:
uses: actions/checkout@v3

- name: Setup Golang
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
check-latest: true
cache-dependency-path: "**/*.sum"

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
Expand Down Expand Up @@ -81,9 +83,11 @@ jobs:
uses: actions/checkout@v3

- name: Setup Golang
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
check-latest: true
cache-dependency-path: "**/*.sum"

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
Expand Down Expand Up @@ -122,24 +126,18 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Golang
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
check-latest: true
cache-dependency-path: "**/*.sum"

- name: Download image artifact
uses: actions/download-artifact@v2
with:
name: ${{ matrix.base-image }}
- name: Load image
run: docker load -i ${{ matrix.base-image }}.tar
- name: Cache Golang Deps
uses: actions/cache@v3
with:
path: |
~/.cache/go-build
~/go
key: ${{ runner.os }}-golang-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-golang-
- name: Run `make test-hive`
run: make hive-setup test-hive
env:
Expand All @@ -158,24 +156,17 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Golang
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
check-latest: true
cache-dependency-path: "**/*.sum"
- name: Download image artifact
uses: actions/download-artifact@v2
with:
name: ${{ matrix.base-image }}
- name: Load image
run: docker load -i ${{ matrix.base-image }}.tar
- name: Cache Golang Deps
uses: actions/cache@v3
with:
path: |
~/.cache/go-build
~/go
key: ${{ runner.os }}-golang-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-golang-
- name: Run ${{ matrix.namespace }}
run: make test-${{ matrix.namespace }}
env:
Expand Down
14 changes: 4 additions & 10 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,18 +40,12 @@ jobs:
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Setup Golang
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Cache Golang Deps
uses: actions/cache@v3
with:
path: |
~/.cache/go-build
~/go
key: ${{ runner.os }}-golang-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-golang-
check-latest: true
cache-dependency-path: "**/*.sum"

- name: Run ${{ matrix.args }}
run: |
make ${{ matrix.args }}
Expand Down
Loading