mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-12 02:26:26 +05:00
Update github workflows to use correct go version
This commit is contained in:
committed by
Dan Christian Bogos
parent
0bc94857ca
commit
f3e0669c2d
8
.github/workflows/build.yaml
vendored
8
.github/workflows/build.yaml
vendored
@@ -27,11 +27,6 @@ jobs:
|
||||
# needs: check-if-duplicate-action
|
||||
# if: needs.check-if-duplicate-action.outputs.should_skip != 'true'
|
||||
runs-on: ubuntu-latest
|
||||
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
|
||||
@@ -39,8 +34,7 @@ jobs:
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: ${{ matrix.go }}
|
||||
check-latest: true
|
||||
go-version: "1.21.x"
|
||||
|
||||
- name: Go Format
|
||||
run: gofmt -s -w . && git diff --exit-code
|
||||
|
||||
4
.github/workflows/integration_tests.yaml
vendored
4
.github/workflows/integration_tests.yaml
vendored
@@ -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