From 5472e589cfeba74379ea6bd2478371a57480a887 Mon Sep 17 00:00:00 2001 From: Marek Siarkowicz Date: Sun, 24 Apr 2022 15:23:45 +0200 Subject: [PATCH] scripts: Add tests for release scripts --- .github/workflows/release.yaml | 24 ++++++++++++++++++++++++ scripts/release.sh | 17 ++++++++++++----- 2 files changed, 36 insertions(+), 5 deletions(-) create mode 100644 .github/workflows/release.yaml diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 000000000..235d0c050 --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,24 @@ +name: Release +on: [push, pull_request] +jobs: + main: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-go@v2 + with: + go-version: "1.17.8" + - run: | + git config --global user.email "github-action@etcd.io" + git config --global user.name "Github Action" + gpg --batch --gen-key <