From eaf33cffa1a1351fdce5f583afb1151b33ccfbf4 Mon Sep 17 00:00:00 2001 From: DIDIRUS4 Date: Fri, 26 Jul 2024 02:34:44 +0300 Subject: [PATCH] Remove codeql & update flake --- .github/workflows/codeql.yml | 35 ------------------------------ .github/workflows/update-flake.yml | 30 ------------------------- 2 files changed, 65 deletions(-) delete mode 100644 .github/workflows/codeql.yml delete mode 100644 .github/workflows/update-flake.yml diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml deleted file mode 100644 index 5255f865b7..0000000000 --- a/.github/workflows/codeql.yml +++ /dev/null @@ -1,35 +0,0 @@ -name: "CodeQL Code Scanning" - -on: [ push, pull_request, workflow_dispatch ] - -jobs: - CodeQL: - runs-on: ubuntu-latest - - steps: - - name: Checkout repository - uses: actions/checkout@v4 - with: - submodules: 'true' - - - name: Initialize CodeQL - uses: github/codeql-action/init@v3 - with: - config-file: ./.github/codeql/codeql-config.yml - queries: security-and-quality - languages: cpp, java - - - name: Install Dependencies - run: - sudo apt-get -y update - - sudo apt-get -y install ninja-build extra-cmake-modules scdoc qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools libqt5core5a libqt5network5 libqt5gui5 libqt5networkauth5 libqt5networkauth5-dev - - - name: Configure and Build - run: | - cmake -S . -B build -DCMAKE_INSTALL_PREFIX=/usr -DLauncher_QT_VERSION_MAJOR=5 -G Ninja - - cmake --build build - - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v3 diff --git a/.github/workflows/update-flake.yml b/.github/workflows/update-flake.yml deleted file mode 100644 index 2226d07104..0000000000 --- a/.github/workflows/update-flake.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Update Flake Lockfile - -on: - schedule: - # run weekly on sunday - - cron: "0 0 * * 0" - workflow_dispatch: - -permissions: - contents: write - pull-requests: write - -jobs: - update-flake: - if: github.repository == 'PrismLauncher/PrismLauncher' - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v4 - - uses: cachix/install-nix-action@ba0dd844c9180cbf77aa72a116d6fbc515d0e87b # v27 - - - uses: DeterminateSystems/update-flake-lock@v22 - with: - commit-msg: "chore(nix): update lockfile" - pr-title: "chore(nix): update lockfile" - pr-labels: | - Linux - packaging - simple change - changelog:omit