feat: add CommitClient.Get to resolve HEAD for a branch or tag #242
Workflow file for this run
This file contains hidden or 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: | |
| if: github.actor != 'dependabot[bot]' | |
| timeout-minutes: 60 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - name: Setup Go | |
| uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0 | |
| with: | |
| go-version: 1.26.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 |