diff --git a/.github/workflows/build_and_publish_test.yml b/.github/workflows/build_and_publish_test.yml index 957a3f2..919a726 100644 --- a/.github/workflows/build_and_publish_test.yml +++ b/.github/workflows/build_and_publish_test.yml @@ -2,11 +2,10 @@ name: "TEST Self-Hosted Runners" on: push: - branches: - - 'main' - - 'testing-*' + # branches: + # - 'testing' tags: - - "test_rapidyenc" + - "testing" release: types: [published] workflow_dispatch: diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 94baadf..b096702 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -2,11 +2,20 @@ name: "CodeQL Advanced" on: push: - branches: [ "main", "testing" ] - pull_request: - branches: [ "main" ] - schedule: - - cron: '16 06 * * 1' + # branches: + # - 'testing' + tags: + - "testing" + release: + types: [published] + workflow_dispatch: + repository_dispatch: + #pull_request: + # branches: + # - main + # - "test*" + #schedule: + # - cron: '16 06 * * 1' jobs: analyze: @@ -27,7 +36,7 @@ jobs: build-mode: autobuild runner: [self-hosted, ubu2204-gor] runner_name: "runner-ubu2204-gor-001" - ram: 12 + ram: 8 cache: false # run codeQL on SHR: Go @@ -35,7 +44,7 @@ jobs: build-mode: autobuild runner: [self-hosted, ubu2404-gor] runner_name: "runner-ubu2404-gor-001" - ram: 12 + ram: 8 cache: false # run codeQL on SHR: C/C++ @@ -43,7 +52,7 @@ jobs: build-mode: manual runner: [self-hosted, ubu2204-gor] runner_name: "runner-ubu2204-gor-001" - ram: 12 + ram: 8 cache: false # run codeQL on SHR: C/C++ @@ -51,7 +60,7 @@ jobs: build-mode: manual runner: [self-hosted, ubu2404-gor] runner_name: "runner-ubu2404-gor-001" - ram: 12 + ram: 8 cache: false # run codeQL on SHR: Actions @@ -59,7 +68,7 @@ jobs: build-mode: none runner: [self-hosted, ubu2204-gor] runner_name: "runner-ubu2204-gor-001" - ram: 12 + ram: 8 cache: false # run codeQL on SHR: Actions @@ -67,7 +76,7 @@ jobs: build-mode: none runner: [self-hosted, ubu2404-gor] runner_name: "runner-ubu2404-gor-001" - ram: 12 + ram: 8 cache: false # run codeQL on GH: Actions @@ -119,18 +128,18 @@ jobs: rm -rf dist build ${{ github.workspace }}/ mkdir -vp ${{ github.workspace }} + - name: Checkout repository + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Set up Go - if: matrix.language == 'go' && matrix.build-mode == 'autobuild' + if: matrix.language == 'go' uses: actions/setup-go@v5 with: go-version: '1.24.3' # or whatever version you need cache: ${{ matrix.cache }} - - name: Checkout repository - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - name: Initialize CodeQL uses: github/codeql-action/init@v3 with: