mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 10:06:24 +05:00
Add possibility to manually trigger workflows
and bump workflow go version
This commit is contained in:
committed by
Dan Christian Bogos
parent
e518e7b913
commit
bfd83b51f5
3
.github/workflows/build.yaml
vendored
3
.github/workflows/build.yaml
vendored
@@ -7,6 +7,7 @@ on:
|
||||
# branches: [master]
|
||||
pull_request:
|
||||
branches: [master]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
# check-if-duplicate-action:
|
||||
@@ -34,7 +35,7 @@ jobs:
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: "1.22.x"
|
||||
go-version: "1.23.x"
|
||||
|
||||
- name: Go Format
|
||||
run: gofmt -s -w . && git diff --exit-code
|
||||
|
||||
5
.github/workflows/integration_tests.yaml
vendored
5
.github/workflows/integration_tests.yaml
vendored
@@ -5,6 +5,7 @@ on:
|
||||
# branches: [master]
|
||||
pull_request:
|
||||
branches: [master]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
# check-if-duplicate-action:
|
||||
@@ -32,7 +33,7 @@ jobs:
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: "1.22.x"
|
||||
go-version: "1.23.x"
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
@@ -58,4 +59,4 @@ jobs:
|
||||
|
||||
- name: Run integration tests
|
||||
run: |
|
||||
sudo env "PATH=$PATH" ./integration_test.sh
|
||||
sudo env "PATH=$PATH" ./integration_test.sh
|
||||
|
||||
Reference in New Issue
Block a user