Merge pull request #291 from fluxcd/dependabot/github_actions/ci-4f42… #157
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-gitea | |
"on": | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- main | |
tags-ignore: ["*"] | |
jobs: | |
test: | |
timeout-minutes: 60 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Setup Go | |
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 | |
with: | |
go-version: 1.23.x | |
cache: true | |
- name: Start Provider instances | |
run: make start-provider-instances-gitea GITEA_VERSION=1.21.1@sha256:63165c64759c98e55f0afdb5fc3be64cbb27180d3474e951fa027228e6955029 | |
- name: Run tests [gitea] | |
run: | | |
export GITEA_TOKEN=$(cat /tmp/gitea-token) | |
make test-e2e-gitea |