1
0
Fork 0
golang-forgejo-f3-gof3/.forgejo/workflows/test-gitea.yml
Daniel Baumann 03bfe4079e
Adding upstream version 3.10.8.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-05-18 09:37:23 +02:00

38 lines
975 B
YAML

#
# secrets.F3_READ_PRIVATE_MIRRORS_TOKEN
# https://code.forgejo.org/forgejo-mirror scope read:repository
#
on:
pull_request_target:
push:
branches:
- 'main'
- 'wip-gitea'
jobs:
compliance-gitea:
runs-on: lxc-bookworm
steps:
- uses: https://data.forgejo.org/actions/checkout@v4
with:
submodules: true
- uses: https://data.forgejo.org/actions/setup-go@v5
with:
go-version-file: "go.mod"
- name: install jq make
run: |
export DEBIAN_FRONTEND=noninteractive
apt-get -q install -qq -y jq make
- run: make deps-backend lint
- name: install zstd for actions/cache@v4
run: |
export DEBIAN_FRONTEND=noninteractive
apt-get -q install -y -qq zstd
- name: run tests
run: |
./tests/run.sh prepare_container
su forgejo -c "./tests/run.sh test_gitea ${{ secrets.F3_READ_PRIVATE_MIRRORS_TOKEN }}"