Skip to content

Merge pull request #253 from fluxcd/dependabot/github_actions/ci-16ff… #74

Merge pull request #253 from fluxcd/dependabot/github_actions/ci-16ff…

Merge pull request #253 from fluxcd/dependabot/github_actions/ci-16ff… #74

Workflow file for this run

---
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@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Restore Go cache
uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Setup Go
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version: 1.20.x
- name: Start Provider instances
run: make start-provider-instances-gitea GITEA_VERSION=1.19.3@sha256:b28e8f3089b52ebe6693295df142f8c12eff354e9a4a5bfbb5c10f296c3a537a
- name: Run tests [gitea]
run: |
export GITEA_TOKEN=$(cat /tmp/gitea-token)
make test-e2e-gitea