From 0e170f895aaf5b445432883369a7197cafef5d03 Mon Sep 17 00:00:00 2001 From: Fionera Date: Sat, 28 Sep 2024 16:15:33 +0200 Subject: [PATCH] treewide: update gh actions --- .github/workflows/go.yml | 29 ++++------------------------- 1 file changed, 4 insertions(+), 25 deletions(-) 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