diff --git a/.github/workflows/appbuild.yml b/.github/workflows/appbuild.yml deleted file mode 100644 index de98779e4..000000000 --- a/.github/workflows/appbuild.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: Package build - -on: - pull_request: - -jobs: - build: - runs-on: ubuntu-18.04 - - strategy: - matrix: - node-version: [14.x] - - steps: - - uses: actions/checkout@v2.4.0 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2.4.1 - with: - node-version: ${{ matrix.node-version }} - - name: Set up npm7 - run: npm i -g npm@7 - - name: Setup PHP - uses: shivammathur/setup-php@2.15.0 - with: - php-version: '7.4' - tools: composer - - name: install dependencies - run: | - wget https://github.com/ChristophWurst/krankerl/releases/download/v0.12.2/krankerl_0.12.2_amd64.deb - sudo dpkg -i krankerl_0.12.2_amd64.deb - - name: package - run: | - uname -a - RUST_BACKTRACE=1 krankerl --version - RUST_BACKTRACE=1 krankerl package - - uses: actions/upload-artifact@v2 - with: - name: Deck app tarball - path: build/artifacts/deck.tar.gz diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index ebf850300..48c5ee220 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -13,7 +13,7 @@ env: jobs: integration: - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest strategy: fail-fast: false @@ -44,7 +44,7 @@ jobs: steps: - name: Checkout server - uses: actions/checkout@v2.4.0 + uses: actions/checkout@v3 with: repository: nextcloud/server ref: ${{ matrix.server-versions }} @@ -57,17 +57,16 @@ jobs: git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1 - name: Checkout app - uses: actions/checkout@v2.4.0 + uses: actions/checkout@v3 with: path: apps/${{ env.APP_NAME }} - name: Set up php ${{ matrix.php-versions }} - uses: shivammathur/setup-php@2.24.0 + uses: shivammathur/setup-php@2.18.0 with: php-version: ${{ matrix.php-versions }} tools: phpunit extensions: zip, gd, mbstring, iconv, fileinfo, intl, sqlite, pdo_sqlite, mysql, pdo_mysql, pgsql, pdo_pgsql - ini-file: development coverage: none - name: Set up PHPUnit