Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: clean up ci #150

Open
wants to merge 1 commit into
base: release/v1.7.x
Choose a base branch
from
Open
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
32 changes: 0 additions & 32 deletions .github/workflows/go.yaml

This file was deleted.

13 changes: 9 additions & 4 deletions .github/workflows/integration-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@ on:
push:
branches: [ "main", "cube", "release/**" ]
pull_request:
types: [opened, reopened]
types: [ opened, reopened ]
paths: [ "**.go", "**.mod", "**.sum" ]

jobs:

build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup network
run: |
Expand All @@ -22,9 +23,13 @@ jobs:
sleep 20

- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: 1.20.x
go-version-file: 'go.mod'

- name: Test
run: |
make test

- name: End-to-end test
run: cd tests/e2e && go test
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# docker run --rm -it --env-file=path/to/.env --name xpla-localnet xpladev/xpla

### BUILD
FROM golang:1.20-alpine3.17 AS build
FROM golang:1.23.0-alpine3.20 AS build

# Create appuser.
RUN adduser -D -g '' valiuser
Expand Down Expand Up @@ -35,7 +35,7 @@ RUN set -eux; \
RUN LEDGER_ENABLED=false BUILD_TAGS=muslc LDFLAGS='-linkmode=external -extldflags "-L/mimalloc/build -lmimalloc -Wl,-z,muldefs -static"' make build

# --------------------------------------------------------
FROM alpine:3.18 AS runtime
FROM alpine:3.20 AS runtime

COPY --from=build /workspace/build/xplad /usr/bin/xplad
COPY --from=build /workspace/tests/e2e /opt/tests/e2e
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/xpladev/xpla

go 1.21
go 1.23.0

require (
cosmossdk.io/api v0.3.1
Expand Down
Loading