Skip to content

Commit

Permalink
treewide: update gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
fionera committed Sep 28, 2024
1 parent d2458d3 commit 36af802
Showing 1 changed file with 4 additions and 25 deletions.
29 changes: 4 additions & 25 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
run: earthly +test

0 comments on commit 36af802

Please sign in to comment.