loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

[CI] Forgejo Actions based CI for PR & branches (squash) install git >= 2.42

(cherry picked from commit 2e43bd580d35254ebfb894ce818c622e3e5ea437)
(cherry picked from commit f4a21a873c8452ba09075bec2e49e8bdd6372a57)

+27 -11
+27 -11
.forgejo/workflows/testing.yml
··· 57 57 git config --add safe.directory '*' 58 58 adduser --quiet --comment forgejo --disabled-password forgejo 59 59 chown -R forgejo:forgejo . 60 + - name: install git >= 2.42 61 + run: | 62 + export DEBIAN_FRONTEND=noninteractive 63 + echo deb http://deb.debian.org/debian/ testing main > /etc/apt/sources.list.d/testing.list 64 + apt-get update -qq 65 + apt-get -q install -qq -y git 66 + rm /etc/apt/sources.list.d/testing.list 67 + apt-get update -qq 60 68 - run: | 61 69 su forgejo -c 'make deps-backend' 62 70 - run: | ··· 90 98 - uses: https://code.forgejo.org/actions/setup-go@v4 91 99 with: 92 100 go-version: "1.21" 93 - - name: install dependencies 101 + - name: install dependencies & git >= 2.42 94 102 run: | 95 103 export DEBIAN_FRONTEND=noninteractive 104 + echo deb http://deb.debian.org/debian/ testing main > /etc/apt/sources.list.d/testing.list 96 105 apt-get update -qq 97 - apt-get install --no-install-recommends -qq -y git-lfs 106 + apt-get install --no-install-recommends -qq -y git git-lfs 107 + rm /etc/apt/sources.list.d/testing.list 108 + apt-get update -qq 98 109 - name: setup user and permissions 99 110 run: | 100 111 git config --add safe.directory '*' ··· 134 145 - uses: https://code.forgejo.org/actions/setup-go@v4 135 146 with: 136 147 go-version: "1.21" 137 - - name: install dependencies 148 + - name: install dependencies & git >= 2.42 138 149 run: | 139 150 export DEBIAN_FRONTEND=noninteractive 151 + echo deb http://deb.debian.org/debian/ testing main > /etc/apt/sources.list.d/testing.list 140 152 apt-get update -qq 141 - apt-get install --no-install-recommends -qq -y git-lfs 153 + apt-get install --no-install-recommends -qq -y git git-lfs 154 + rm /etc/apt/sources.list.d/testing.list 155 + apt-get update -qq 142 156 - name: setup user and permissions 143 157 run: | 144 158 git config --add safe.directory '*' ··· 154 168 su forgejo -c 'make test-pgsql-migration test-pgsql' 155 169 timeout-minutes: 50 156 170 env: 157 - TAGS: bindata gogit 171 + TAGS: bindata 158 172 RACE_ENABLED: true 159 - TEST_TAGS: gogit 160 173 USE_REPO_TEST_DIR: 1 161 174 test-sqlite: 162 175 if: ${{ !startsWith(vars.ROLE, 'forgejo-') }} ··· 169 182 - uses: https://code.forgejo.org/actions/setup-go@v4 170 183 with: 171 184 go-version: "1.21" 172 - - name: install dependencies 185 + - name: install dependencies & git >= 2.42 173 186 run: | 174 187 export DEBIAN_FRONTEND=noninteractive 188 + echo deb http://deb.debian.org/debian/ testing main > /etc/apt/sources.list.d/testing.list 175 189 apt-get update -qq 176 - apt-get install --no-install-recommends -qq -y git-lfs 190 + apt-get install --no-install-recommends -qq -y git git-lfs 191 + rm /etc/apt/sources.list.d/testing.list 192 + apt-get update -qq 177 193 - name: setup user and permissions 178 194 run: | 179 195 git config --add safe.directory '*' ··· 184 200 - run: | 185 201 su forgejo -c 'make backend' 186 202 env: 187 - TAGS: bindata gogit sqlite sqlite_unlock_notify 203 + TAGS: bindata sqlite sqlite_unlock_notify 188 204 - run: | 189 205 su forgejo -c 'make test-sqlite-migration test-sqlite' 190 206 timeout-minutes: 50 191 207 env: 192 - TAGS: bindata gogit sqlite sqlite_unlock_notify 208 + TAGS: bindata sqlite sqlite_unlock_notify 193 209 RACE_ENABLED: true 194 - TEST_TAGS: gogit sqlite sqlite_unlock_notify 210 + TEST_TAGS: sqlite sqlite_unlock_notify 195 211 USE_REPO_TEST_DIR: 1