From 3ab502d9814a2cfda66031d57d3472ffa98a1ee9 Mon Sep 17 00:00:00 2001 From: Yuri Astrakhan Date: Thu, 18 Jul 2024 22:52:31 -0400 Subject: [PATCH] Reorder brew install, hopefully speeds it up --- .github/workflows/ci.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f7f76ca35..366473d18 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -326,18 +326,16 @@ jobs: - target: x86_64-unknown-linux-gnu os: ubuntu-latest steps: - - name: Checkout sources - uses: actions/checkout@v4 - - name: Start NGINX - uses: nyurik/action-setup-nginx@v1.1 - id: nginx - with: { port: '5412', output-unix-paths: 'yes' } - - name: Copy static files - run: cp -r tests/fixtures/pmtiles2/* ${{ steps.nginx.outputs.html-dir }} - name: Install and run Postgis uses: nyurik/action-setup-postgis@v2 id: pg with: { username: 'test', password: 'test', database: 'test' } + - name: Start NGINX + uses: nyurik/action-setup-nginx@v1.1 + id: nginx + with: { port: '5412', output-unix-paths: 'yes' } + - name: Checkout sources + uses: actions/checkout@v4 - name: Init database run: | echo "DATABASE_URL=${{ steps.pg.outputs.connection-uri }}" @@ -346,6 +344,8 @@ jobs: tests/fixtures/initdb.sh env: PGSERVICE: ${{ steps.pg.outputs.service-name }} + - name: Copy static files + run: cp -r tests/fixtures/pmtiles2/* ${{ steps.nginx.outputs.html-dir }} - name: Download build artifact build-${{ matrix.target }} uses: actions/download-artifact@v4 with: