From 00d96b6acb2835ca776d573f9353d3e8fa912959 Mon Sep 17 00:00:00 2001 From: Lars Bahner Date: Wed, 28 Feb 2024 00:53:46 +0100 Subject: [PATCH] Cleanup actions --- .github/workflows/go.yml | 4 ++-- .github/workflows/relay-docker-image.yml | 18 ------------------ 2 files changed, 2 insertions(+), 20 deletions(-) delete mode 100644 .github/workflows/relay-docker-image.yml diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index e67d597..d36ceed 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -5,7 +5,7 @@ name: Go on: push: - branches: [ "main", "develop" ] + branches: [ "main" ] pull_request: branches: [ "main" ] @@ -19,7 +19,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v4 with: - go-version: '1.21.x' + go-version: '1.22' - name: Build run: go build -v ./... diff --git a/.github/workflows/relay-docker-image.yml b/.github/workflows/relay-docker-image.yml deleted file mode 100644 index 0fb1263..0000000 --- a/.github/workflows/relay-docker-image.yml +++ /dev/null @@ -1,18 +0,0 @@ -name: Docker Image CI - -on: - push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] - -jobs: - - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - name: Build the Docker image - run: docker build ./cmd/relay --file cmd/relay/Dockerfile --tag my-image-name:$(date +%s)