From c925a6dfc46b64337bcb6c5179a16647f52de08b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ferdinand=20M=C3=BCtsch?= Date: Thu, 21 Sep 2023 21:53:17 +0200 Subject: [PATCH] ci: remove mapi stuff --- .github/workflows/ci.yml | 46 ---------------------------------------- 1 file changed, 46 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7ca4bc06..29206969 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,52 +29,6 @@ jobs: npm -g install newman ./testing/run_api_tests.sh - mapi: - name: 'Automated pen-tests with Mayhem for API' - runs-on: ubuntu-latest - env: - CGO_ENABLED: 0 - - steps: - - name: Set up Go 1.x - uses: actions/setup-go@v3 - with: - go-version: ^1.20 - - - name: Check out code into the Go module directory - uses: actions/checkout@v3 - - - name: Get dependencies - run: go get - - - name: Build - run: go build -v . - - - name: start wakapi - run: ./wakapi --config config.default.yml & - - - name: create a trivial testing user - run: sqlite3 wakapi_db.db "insert into users (id, api_key) values ('mapi', 'test-api-key')" - - - name: Run Mayhem for API - uses: ForAllSecure/mapi-action@v1 - continue-on-error: true - with: - mapi-token: ${{ secrets.MAPI_TOKEN }} - api-url: http://localhost:3000/api/ - api-spec: static/docs/swagger.yaml - target: muety/wakapi - duration: 1min - sarif-report: mapi.sarif - run-args: | - --header-auth - Authorization: Basic dGVzdC1hcGkta2V5 - - - name: Upload SARIF file - uses: github/codeql-action/upload-sarif@v2 - with: - sarif_file: mapi.sarif - migration: name: Migration tests runs-on: ubuntu-latest