diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index b832904..9706ce8 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -57,33 +57,12 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - - name: Set up Go - uses: actions/setup-go@v4 + - uses: earthly/actions-setup@v1 with: - go-version: '1.21' - - - name: Test - run: go test -v ./... + github-token: ${{ secrets.GITHUB_TOKEN }} + version: "latest" - e2e: - runs-on: ubuntu-latest - steps: - uses: actions/checkout@v3 - - name: Set up Go - uses: actions/setup-go@v4 - with: - go-version: '1.21' - - - name: setup environment - run: | - sudo apt-get install -y software-properties-common - sudo add-apt-repository -y ppa:vbernat/haproxy-2.8 - sudo apt-get update - sudo apt-get install -y haproxy - haproxy -vv - - name: Test E2E - run: go test -v ./... --tags=e2e \ No newline at end of file + run: earthly +test \ No newline at end of file