VictoriaMetrics/.github/workflows
Arkadii Yakovets 36311825cc
Optimize CI workflows (#6551)
### Describe Your Changes

This PR is aimed to change the currently in place configuration of
running Go related jobs for code changes that don't contain actual Go
files ([example
1](https://github.com/VictoriaMetrics/VictoriaMetrics/pull/6517/checks)
- 2m32s , [example
2](https://github.com/VictoriaMetrics/VictoriaMetrics/pull/6543/checks)
- 4m11s).

In order to do that the `build` workflow was extracted from Go related
workflow (now it doesn't require lint as a `need` step -- let me know if
it's something we want to keep). It will run upon the same triggers as
before the change.

The `main` workflow now will be triggered by `**.go` pattern only and
contains lint/test steps that are relevant for Go file changes.

I expect this PR +
https://github.com/VictoriaMetrics/VictoriaMetrics/pull/6540 to improve
CI minutes usage.

### Checklist

The following checks are **mandatory**:

- [x] My change adheres [VictoriaMetrics contributing
guidelines](https://docs.victoriametrics.com/contributing/).

---------

Signed-off-by: Arkadii Yakovets <ark@victoriametrics.com>
(cherry picked from commit c14e827cc5)
2024-07-05 15:14:03 +02:00
..
benchmark.yml deployment: build image for vmagent streamaggr benchmark (#6515) 2024-06-24 16:29:14 +02:00
build.yml Optimize CI workflows (#6551) 2024-07-05 15:14:03 +02:00
check-licenses.yml .github/workflows: update actions/cache from v3 to v4 2024-02-13 19:35:46 +02:00
codeql-analysis-go.yml github/workflows: run CodeQL Go analysis for .go files only (#6540) 2024-06-27 09:32:09 +02:00
codeql-analysis-js-ts.yml github/workflows: run CodeQL analysis for both JavaScript and TypeScript (#6541) 2024-06-27 09:32:11 +02:00
main.yml Optimize CI workflows (#6551) 2024-07-05 15:14:03 +02:00
sync-docs.yml github acitons: ghaction-import-gpg v5 -> v6 2024-07-03 15:22:50 +02:00