Refactor name #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Go_test | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
services: | |
dind: | |
image: docker:23.0-rc-dind-rootless | |
ports: | |
- 2375:2375 | |
steps: | |
- name: Install and start kurtosis | |
run: | | |
echo "deb [trusted=yes] https://apt.fury.io/kurtosis-tech/ /" | sudo tee /etc/apt/sources.list.d/kurtosis.list | |
sudo apt update | |
sudo apt install kurtosis-cli | |
kurtosis engine restart | |
- uses: actions/checkout@v3 | |
- name: Setup Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "1.19.x" | |
- name: Install dependencies | |
run: go mod download all | |
- name: Test with the Go CLI | |
run: go test ./... -v |