commit: 617206d036c9b5b10ac2aae4ea1bc0d9a8958423
Author: Brian Harring <ferringb <AT> gmail <DOT> com>
AuthorDate: Mon Dec 1 00:11:18 2025 +0000
Commit: Brian Harring <ferringb <AT> gmail <DOT> com>
CommitDate: Mon Dec 1 00:11:18 2025 +0000
URL:
https://gitweb.gentoo.org/proj/pkgcore/snakeoil.git/commit/?id=617206d0
chore: tighten the checkout to ensure it's always a tag
Signed-off-by: Brian Harring <ferringb <AT> gmail.com>
.github/workflows/test.yml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 2de61fe..48643cc 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -81,12 +81,13 @@ jobs:
echo "latest=${latest}"
[ -z "$latest" ] && { echo "failed finding the tag"; exit 1; }
echo "LATEST_TAG=$latest" >> $GITHUB_ENV
+
- name: Checkout ${{ matrix.repo }} ${{ env.LATEST_TAG }}
uses: actions/checkout@v4
with:
repository: pkgcore/${{ matrix.repo }}
path: ${{ matrix.repo }}
- ref: ${{ env.LATEST_TAG }}
+ ref: refs/tags/${{ env.LATEST_TAG }}
- name: Set up Python 3.13
uses: actions/setup-python@v5