diff --git a/.github/workflows/build-plugin.yml b/.github/workflows/build-plugin.yml index dd39686..abd6ce6 100644 --- a/.github/workflows/build-plugin.yml +++ b/.github/workflows/build-plugin.yml @@ -7,7 +7,6 @@ on: - dev pull_request: - # Automatically cancel any previous workflow on new push. concurrency: group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }} @@ -31,33 +30,33 @@ jobs: fail-fast: false matrix: release: - - 'windows-static' - - 'windows-shared64' + - "windows-static" + - "windows-shared64" steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 - with: - python-version: 3.9.x - - name: Preparing msvc toolchain - uses: ilammy/msvc-dev-cmd@v1 - with: - arch: x64 - - name: Install dependencies - shell: bash - run: | - pip install ninja meson - choco install pkgconfiglite - choco install zip - - name: Install rizin - shell: bash - run: | - WORKDIR="$PWD" - cd .. - python "$WORKDIR/.ci-scripts/ci-rizin-dl.py" 'rizin-${{ matrix.release }}-{version}.zip' - unzip rizin.zip - rm *.zip - mv rizin* rizin - cd "$WORKDIR" - - name: Build & run the plugin - shell: cmd - run: .ci-scripts/ci-build-win.bat x64 + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: 3.9.x + - name: Preparing msvc toolchain + uses: ilammy/msvc-dev-cmd@v1 + with: + arch: x64 + - name: Install dependencies + shell: bash + run: | + pip install ninja meson + choco install pkgconfiglite + choco install zip + - name: Install rizin + shell: bash + run: | + WORKDIR="$PWD" + cd .. + python "$WORKDIR/.ci-scripts/ci-rizin-dl.py" 'rizin-${{ matrix.release }}-{version}.zip' + unzip rizin.zip + rm *.zip + mv rizin* rizin + cd "$WORKDIR" + - name: Build & run the plugin + shell: cmd + run: .ci-scripts/ci-build-win.bat x64 diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index ffe71d5..171a2e5 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -2,9 +2,9 @@ name: "CodeQL" on: push: - branches: [ "master" ] + branches: ["master"] pull_request: - branches: [ "master" ] + branches: ["master"] schedule: - cron: "1 14 * * 5" @@ -20,7 +20,7 @@ jobs: strategy: fail-fast: false matrix: - language: [ javascript ] + language: [javascript] steps: - name: Checkout diff --git a/.github/workflows/continuous-tests.yml b/.github/workflows/continuous-tests.yml index 339d0d8..e25abbd 100644 --- a/.github/workflows/continuous-tests.yml +++ b/.github/workflows/continuous-tests.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: '16' + node-version: "16" - name: eslint run: chmod +x .ci-scripts/ci-eslint.sh && .ci-scripts/ci-eslint.sh @@ -29,9 +29,9 @@ jobs: licenses: runs-on: ubuntu-latest steps: - - name: Checkout repository - uses: actions/checkout@v3 - - name: Reuse Compliance Check - uses: fsfe/reuse-action@v2 - with: - args: --suppress-deprecation lint + - name: Checkout repository + uses: actions/checkout@v3 + - name: Reuse Compliance Check + uses: fsfe/reuse-action@v2 + with: + args: --suppress-deprecation lint