diff --git a/.github/workflows/clippy-fmt.yml b/.github/workflows/clippy-fmt.yml index 16212b0e..a3a521ff 100644 --- a/.github/workflows/clippy-fmt.yml +++ b/.github/workflows/clippy-fmt.yml @@ -13,18 +13,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: ⚡ Cache - uses: actions/cache@v2 - with: - path: | - ~/.cargo/registry - ~/.cargo/git - node_modules - ./docs/openapi/node_modules - target - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - - - uses: actions/checkout@v2 - name: Install Rust uses: actions-rs/toolchain@v1 @@ -41,18 +29,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: ⚡ Cache - uses: actions/cache@v2 - with: - path: | - ~/.cargo/registry - ~/.cargo/git - node_modules - ./docs/openapi/node_modules - target - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - - - uses: actions/checkout@v2 - name: Install Rust uses: actions-rs/toolchain@v1 diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 3ac1d7d5..f3e72bbd 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -69,17 +69,6 @@ jobs: steps: - uses: actions/checkout@v2 - - name: ⚡ Cache - uses: actions/cache@v2 - with: - path: | - ~/.cargo/registry - ~/.cargo/git - node_modules - ./docs/openapi/node_modules - target - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - - name: load env run: | diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 1bc88f99..1ff0a3d6 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -9,7 +9,7 @@ on: branches: - master - "*" - - '!gh-pages' + - "!gh-pages" jobs: build_and_test: @@ -55,7 +55,7 @@ jobs: maria: image: mariadb:10 - env: + env: MARIADB_USER: "maria" MARIADB_PASSWORD: "password" MARIADB_ROOT_PASSWORD: "password" @@ -70,16 +70,16 @@ jobs: steps: - uses: actions/checkout@v2 - - name: ⚡ Cache - uses: actions/cache@v2 - with: - path: | - ~/.cargo/registry - ~/.cargo/git - node_modules - ./docs/openapi/node_modules - target - key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} + #- name: ⚡ Cache + # uses: actions/cache@v2 + # with: + # path: | + # ~/.cargo/registry + # ~/.cargo/git + # node_modules + # ./docs/openapi/node_modules + # target + # key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - name: configure GPG key if: (github.ref == 'refs/heads/master' || github.event_name == 'push') && github.repository == 'mCaptcha/mCaptcha' @@ -117,7 +117,8 @@ jobs: run: make env: POSTGRES_DATABASE_URL: "${{ env.POSTGRES_DATABASE_URL }}" - MARIA_DATABASE_URL: "${{ env.MARIA_DATABASE_URL }}" + MARIA_DATABASE_URL: + "${{ env.MARIA_DATABASE_URL }}" # - name: build frontend # run: make frontend