From feb454662adb74f307d533945df9b7ab9228acbc Mon Sep 17 00:00:00 2001 From: Bernd Schoolmann Date: Sat, 4 May 2024 05:33:09 +0200 Subject: [PATCH] Update go.yml --- .github/workflows/go.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 6df2973..6d2d655 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -10,6 +10,16 @@ env: GO_VERSION: '1.22' jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v1 + - name: Write version + run: echo "${GITHUB_REF#refs/tags/}" > ./cli/cmd/version.txt + - name: Replace version in PKGBUILD + run: sed -i "s/pkgver=.*/pkgver=${GITHUB_REF#refs/tags/}/" ./.github/workflows/PKGBUILD + build_linux_x86_64_debug: runs-on: ubuntu-latest steps: