From f1a88fe4bee06278a7372c1aac3cd13ef290ab07 Mon Sep 17 00:00:00 2001 From: Baoshuo Date: Fri, 23 Sep 2022 08:13:31 +0800 Subject: [PATCH] chore: remove docker image build test --- .github/workflows/test.yml | 49 +++++++++----------------------------- 1 file changed, 11 insertions(+), 38 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c4057fe..0f50de6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,43 +1,16 @@ name: Lint & Test on: - - push - - pull_request + - push + - pull_request jobs: - php-cs-fixer: - name: PHP-CS-Fixer - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: PHP-CS-Fixer - uses: docker://oskarstark/php-cs-fixer-ga - with: - args: --config=./web/.php-cs-fixer.php --diff --dry-run - - docker-db: - name: Build Docker Image (uoj-db) - needs: php-cs-fixer - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Build Docker Image (uoj-db) - run: docker-compose build uoj-db - - docker-judger: - name: Build Docker Image (uoj-judger) - needs: php-cs-fixer - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Build Docker Image - run: docker-compose build uoj-judger - - docker-web: - name: Build Docker Image (uoj-web) - needs: php-cs-fixer - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Build Docker Image (uoj-web) - run: docker-compose build uoj-web + php-cs-fixer: + name: PHP-CS-Fixer + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: PHP-CS-Fixer + uses: docker://oskarstark/php-cs-fixer-ga + with: + args: --config=./web/.php-cs-fixer.php --diff --dry-run