From 5dc5c160d99610085b9928deae3d8a9e88671410 Mon Sep 17 00:00:00 2001 From: David Prodinger Date: Tue, 26 Nov 2024 15:23:08 +0100 Subject: [PATCH] test: checkout code first, to use the go.mod file --- .github/workflows/package.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/package.yaml b/.github/workflows/package.yaml index 88d298e..7d7ad55 100644 --- a/.github/workflows/package.yaml +++ b/.github/workflows/package.yaml @@ -15,6 +15,8 @@ jobs: arch: [ amd64, arm64 ] runs-on: ubuntu-24.04 steps: + - uses: actions/checkout@v4 + - name: Set up Go uses: actions/setup-go@v5 with: @@ -42,8 +44,6 @@ jobs: echo "PACKAGE_VERSION=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_ENV fi - - uses: actions/checkout@v4 - - name: Install dependencies run: | sudo apt update && sudo apt -y install make pkg-config rubygems && sudo gem install fpm