Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .github/workflows/build_and_publish_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
43 changes: 26 additions & 17 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -27,47 +36,47 @@ 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
- language: go
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++
- language: c-cpp
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++
- language: c-cpp
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
- language: actions
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
- language: actions
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
Expand Down Expand Up @@ -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:
Expand Down