packages: simplify the setup to use the same as upgrades
the packages tests control which Forgejo version they run against so they can test a feature on version X+1 and not on version X
This commit is contained in:
parent
dd35a9f1a8
commit
9ff495254a
8 changed files with 64 additions and 153 deletions
|
@ -31,8 +31,11 @@ jobs:
|
|||
with:
|
||||
go-version: "1.21"
|
||||
- run: |
|
||||
apt-get update -qq
|
||||
apt-get -q install -qq -y docker.io
|
||||
git config --add safe.directory '*'
|
||||
adduser --quiet --comment forgejo --disabled-password forgejo
|
||||
adduser forgejo docker
|
||||
chown -R forgejo:forgejo .
|
||||
- run: |
|
||||
script=$(pwd)/forgejo/upgrades/test-upgrade.sh
|
||||
|
|
Loading…
Add table
Reference in a new issue