Skip to content

Commit

Permalink
fix: fixing codeql and test runners (#40)
Browse files Browse the repository at this point in the history
* fix(codeql): fixing codeql and adjusting test configuration

* fix(tests): fixing test execution through github action runners
  • Loading branch information
drochow authored Jun 28, 2024
1 parent 296252e commit dad0d8e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 101 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
# Use only 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
# node-version: [ node ]
go-version: [ '1.21' ]
go-version: [ '1.22' ]

steps:
- name: Checkout repository
Expand Down Expand Up @@ -60,8 +60,9 @@ jobs:

# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v3
- run: |
echo "Building appplication"
make build-binary
# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
Expand Down
96 changes: 0 additions & 96 deletions .github/workflows/codeql.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on: [pull_request]

jobs:
tests:
runs-on: [ self-hosted ]
runs-on: [ default ]
services:
mariadb:
image: mariadb:latest
Expand Down Expand Up @@ -33,4 +33,4 @@ jobs:
DB_PORT: 3306
DB_SCHEMA: internal/database/mariadb/init/schema.sql
LOCAL_TEST_DB: true
run: ginkgo -r -randomize-all -randomize-suites --repeat 5
run: ginkgo -r -randomize-all -randomize-suites

0 comments on commit dad0d8e

Please sign in to comment.