add tests for actions/checkout

This commit is contained in:
Earl Warren 2023-10-04 15:31:52 +02:00
parent 7f23c0bd5f
commit 5cf6f35778
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
3 changed files with 18 additions and 2 deletions

View file

@ -17,10 +17,10 @@ jobs:
tests: "cron" tests: "cron"
- version: "1.21.0-1-rc0" - version: "1.21.0-1-rc0"
image: codeberg.org/forgejo-experimental/forgejo 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" - version: "1.20"
image: codeberg.org/forgejo/forgejo 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: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- if: matrix.info.tests != 'none' - if: matrix.info.tests != 'none'

View file

@ -0,0 +1,8 @@
on: [push]
jobs:
ls:
runs-on: docker
steps:
- uses: actions/checkout@v3
- run: |
ls ${{ github.workspace }}

View file

@ -0,0 +1,8 @@
on: [push]
jobs:
ls:
runs-on: docker
steps:
- uses: actions/checkout@v4
- run: |
ls ${{ github.workspace }}