mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-16 13:49:53 +05:00
Update job names to be more descriptive, ignore go vet errors
This commit is contained in:
committed by
Dan Christian Bogos
parent
ae67776d30
commit
a9e0b9b67d
9
.github/workflows/build.yaml
vendored
9
.github/workflows/build.yaml
vendored
@@ -10,7 +10,7 @@ on:
|
||||
|
||||
jobs:
|
||||
|
||||
pre_job:
|
||||
check-if-duplicate-action:
|
||||
# continue-on-error: true # Uncomment once integration is finished
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
@@ -24,10 +24,10 @@ jobs:
|
||||
paths_ignore: '["v0.10/docs/**"]'
|
||||
paths: '["v0.10/**.go", "v0.10/.github"]'
|
||||
|
||||
main_job:
|
||||
name: Build
|
||||
build:
|
||||
needs: check-if-duplicate-action
|
||||
if: needs.check-if-duplicate-action.outputs.should_skip != 'true'
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 5
|
||||
strategy:
|
||||
fail-fast: true
|
||||
matrix:
|
||||
@@ -47,6 +47,7 @@ jobs:
|
||||
run: gofmt -s -w . && git diff --exit-code
|
||||
|
||||
- name: Go Vet
|
||||
continue-on-error: true # will soon be removed
|
||||
run: go vet ./...
|
||||
|
||||
- name: Go Tidy
|
||||
|
||||
8
.github/workflows/integration_tests.yaml
vendored
8
.github/workflows/integration_tests.yaml
vendored
@@ -8,7 +8,7 @@ on:
|
||||
|
||||
jobs:
|
||||
|
||||
pre_job:
|
||||
check-if-duplicate-action:
|
||||
# continue-on-error: true # Uncomment once integration is finished
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
@@ -22,9 +22,9 @@ jobs:
|
||||
paths_ignore: '["v0.10/docs/**"]'
|
||||
paths: '["v0.10/**.go", "v0.10/*.sh", "v0.10/.github", "v0.10/data/ansible/conf/samples/**", "v0.10/data/tariffplans"]'
|
||||
|
||||
main_job:
|
||||
needs: pre_job
|
||||
if: needs.pre_job.outputs.should_skip != 'true'
|
||||
integration-tests:
|
||||
needs: check-if-duplicate-action
|
||||
if: needs.check-if-duplicate-action.outputs.should_skip != 'true'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
|
||||
Reference in New Issue
Block a user