mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Update github workflows
This commit is contained in:
committed by
Dan Christian Bogos
parent
4c34d321de
commit
ccd4a92432
8
.github/workflows/build.yaml
vendored
8
.github/workflows/build.yaml
vendored
@@ -28,12 +28,6 @@ jobs:
|
||||
# if: needs.check-if-duplicate-action.outputs.should_skip != 'true'
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
## Currently prefer to run tests for a single static go version
|
||||
# strategy:
|
||||
# fail-fast: true
|
||||
# matrix:
|
||||
# go: ["stable"] # could be a good idea to consider oldstable as well
|
||||
|
||||
steps:
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v3
|
||||
@@ -41,7 +35,7 @@ jobs:
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: "1.21.0"
|
||||
go-version: "1.21.3"
|
||||
|
||||
- name: Go Format
|
||||
run: gofmt -s -w . && git diff --exit-code
|
||||
|
||||
6
.github/workflows/integration_tests.yaml
vendored
6
.github/workflows/integration_tests.yaml
vendored
@@ -32,7 +32,7 @@ jobs:
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: "1.21.0"
|
||||
go-version: "1.21.3"
|
||||
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v4
|
||||
@@ -50,6 +50,4 @@ jobs:
|
||||
|
||||
- name: Run integration tests
|
||||
run: |
|
||||
sudo su <<EOF
|
||||
./integration_test.sh
|
||||
EOF
|
||||
sudo env "PATH=$PATH" ./integration_test.sh
|
||||
|
||||
Reference in New Issue
Block a user