mirror of
https://code.forgejo.org/actions/setup-forgejo.git
synced 2024-11-24 00:40:58 -05:00
add tests for actions/checkout
This commit is contained in:
parent
7f23c0bd5f
commit
5cf6f35778
3 changed files with 18 additions and 2 deletions
|
@ -17,10 +17,10 @@ jobs:
|
|||
tests: "cron"
|
||||
- version: "1.21.0-1-rc0"
|
||||
image: codeberg.org/forgejo-experimental/forgejo
|
||||
tests: "${{ vars.V121_TESTS || 'echo pull-request container expression local-action docker-action if if-fail' }}"
|
||||
tests: "${{ vars.V121_TESTS || 'echo checkout pull-request container expression local-action docker-action if if-fail' }}"
|
||||
- version: "1.20"
|
||||
image: codeberg.org/forgejo/forgejo
|
||||
tests: "${{ vars.V120_TESTS || 'echo service container expression local-action docker-action if if-fail' }}"
|
||||
tests: "${{ vars.V120_TESTS || 'echo checkout service container expression local-action docker-action if if-fail' }}"
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- if: matrix.info.tests != 'none'
|
||||
|
|
8
testdata/example-checkout/.forgejo/workflows/v3.yml
vendored
Normal file
8
testdata/example-checkout/.forgejo/workflows/v3.yml
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
on: [push]
|
||||
jobs:
|
||||
ls:
|
||||
runs-on: docker
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- run: |
|
||||
ls ${{ github.workspace }}
|
8
testdata/example-checkout/.forgejo/workflows/v4.yml
vendored
Normal file
8
testdata/example-checkout/.forgejo/workflows/v4.yml
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
on: [push]
|
||||
jobs:
|
||||
ls:
|
||||
runs-on: docker
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: |
|
||||
ls ${{ github.workspace }}
|
Loading…
Reference in a new issue