diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a8f373e..82a32e0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,6 +42,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v7 + with: + ref: ${{ inputs.version }} - name: Setup Go uses: actions/setup-go@v6 @@ -60,6 +62,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v7 + with: + ref: ${{ inputs.version }} - name: Setup Go uses: actions/setup-go@v6 @@ -93,8 +97,10 @@ jobs: version: ${{ env.DOCKER_BUILDX_VERSION }} install: true - - name: Checkout + - name: Checkout ${{ github.repository }} ${{ inputs.version }} uses: actions/checkout@v7 + with: + ref: ${{ inputs.version }} # We ask Docker to use GitHub Action's native caching support to speed up # the build, per https://docs.docker.com/build/cache/backends/gha/.