fix: actions: refactor force-rebuild tests to use a remote action (#991)
The local actions are always rebuilt with a random tag and cannot be used to verify the force_rebuild setting is working. Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/991 Reviewed-by: Michael Kriese <michael.kriese@gmx.de> Co-authored-by: Earl Warren <contact@earl-warren.org> Co-committed-by: Earl Warren <contact@earl-warren.org>
This commit is contained in:
parent
ecff9c4c70
commit
d29439c5f7
10 changed files with 50 additions and 34 deletions
|
|
@ -1,10 +1,11 @@
|
|||
---
|
||||
on:
|
||||
push:
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
ls:
|
||||
runs-on: docker
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
- uses: ./.forgejo/local-docker-action
|
||||
- uses: https://code.forgejo.org/forgejo/test-setup-forgejo-docker@main
|
||||
with:
|
||||
args: ${{ forge.workspace }}/SOMEFILE
|
||||
- run: |
|
||||
test -f ${{ forge.workspace }}/SOMEFILE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue