build(deps): bump actions/checkout from 4.1.7 to 4.2.0 in the all group #351
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | ||
name: e2e | ||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
jobs: | ||
e2e: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
id-token: write | ||
if: github.repository == 'kubernetes-sigs/release-sdk' | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | ||
- name: Setup golang | ||
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 | ||
with: | ||
go-version: '1.23' | ||
check-latest: true | ||
cache: true | ||
- name: Run local registry | ||
run: podman run -d -p 5000:5000 registry:2 | ||
- name: Build test image | ||
uses: redhat-actions/buildah-build@7a95fa7ee0f02d552a32753e7414641a04307056 # v2.13 | ||
id: test-image | ||
with: | ||
base-image: scratch | ||
image: test | ||
oci: true | ||
- name: Push test image to local registry | ||
id: push | ||
uses: redhat-actions/push-to-registry@5ed88d269cf581ea9ef6dd6806d01562096bee9c # v2.8 | ||
with: | ||
image: ${{ steps.test-image.outputs.image }} | ||
registry: localhost:5000 | ||
tls-verify: false | ||
- name: Generate test file | ||
id: test-file | ||
run: | | ||
echo "release sign test" > ${{ runner.temp }}/test-file-${{ github.run_id }} | ||
- name: Run e2e tests | ||
run: go run mage.go E2ETest | ||
with: | ||
path: ${{ runner.temp }}/test-file-${{ github.run_id }} |