From 7eaa5c49c8279cb5abc8fa462589f9aa8699dfc3 Mon Sep 17 00:00:00 2001 From: WesleyCharlesBlake Date: Thu, 31 Aug 2023 12:38:00 +0200 Subject: [PATCH 1/3] remove docker build for now --- .github/workflows/docker.yaml | 69 ----------------------------------- 1 file changed, 69 deletions(-) delete mode 100644 .github/workflows/docker.yaml diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml deleted file mode 100644 index c630314..0000000 --- a/.github/workflows/docker.yaml +++ /dev/null @@ -1,69 +0,0 @@ -name: Build & Publish Docker Images -# Build & Push rebuilds the tendermint docker image on every push to master and creation of tags -# and pushes the image to https://hub.docker.com/r/interchainio/simapp/tags -on: - workflow_dispatch: # Allow manual trigger - push: - tags: - - v[0-9]+.[0-9]+.[0-9]+ - - v[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+ - - branches: - - main - -jobs: - build-and-push: - runs-on: ubuntu-latest - strategy: - matrix: - include: - - dockerfile: ./Dockerfile - image: ghcr.io/chronicleprotocol/keeman - - permissions: - contents: read - packages: write - - steps: - - uses: actions/checkout@v3 - - - name: Login to Github Packages - uses: docker/login-action@v1 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - - name: Docker metadata (tags, labels, etc) - id: meta - uses: docker/metadata-action@v3 - with: - images: ${{ matrix.image }} - tags: | - type=raw,value=latest - type=semver,pattern={{version}} - type=semver,pattern={{major}}.{{minor}} - type=semver,pattern={{major}} - type=sha - - name: Set up QEMU - uses: docker/setup-qemu-action@master - with: - platforms: all - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 - id: buildx - with: - install: true - - - name: Docker build and Push images - uses: docker/build-push-action@v3 - with: - context: . - file: ${{ matrix.dockerfile }} - platforms: linux/amd64,linux/arm64 - push: ${{ github.event_name != 'pull_request' }} - tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} - cache-from: type=gha - cache-to: type=gha,mode=max \ No newline at end of file From 2194d5f0ca981ae4cb494ac84f28c15f35bfd520 Mon Sep 17 00:00:00 2001 From: WesleyCharlesBlake Date: Thu, 31 Aug 2023 12:38:20 +0200 Subject: [PATCH 2/3] disable go test --- .github/workflows/go.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/go.yaml b/.github/workflows/go.yaml index 6ea907d..ed1a5be 100644 --- a/.github/workflows/go.yaml +++ b/.github/workflows/go.yaml @@ -19,15 +19,15 @@ jobs: go get -u golang.org/x/lint/golint find ./ -name "*.go" |xargs -IFILE gofmt -s -w FILE - test: - name: Test - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v4 - with: - go-version: 1.18 - - run: go test ./... + # test: + # name: Test + # runs-on: ubuntu-latest + # steps: + # - uses: actions/checkout@v3 + # - uses: actions/setup-go@v4 + # with: + # go-version: 1.18 + # - run: go test ./... build: name: Build From ee8aef70c15461039965ad145364b51edff54b33 Mon Sep 17 00:00:00 2001 From: WesleyCharlesBlake Date: Thu, 31 Aug 2023 12:40:07 +0200 Subject: [PATCH 3/3] fix deps on test workflow and update go version --- .github/workflows/go.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yaml b/.github/workflows/go.yaml index ed1a5be..9b82e84 100644 --- a/.github/workflows/go.yaml +++ b/.github/workflows/go.yaml @@ -32,12 +32,12 @@ jobs: build: name: Build runs-on: ubuntu-latest - needs: [lint, test] + needs: [lint] steps: - name: Set up Go uses: actions/setup-go@v4 with: - go-version: 1.18 + go-version: 1.21 - name: Check out code uses: actions/checkout@v3