forked from TrueCloudLab/frostfs-s3-gw
[#455] Run GitHub Actions in tree-service branch
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
6fe46a5944
commit
bc000f1bc4
2 changed files with 16 additions and 0 deletions
6
.github/workflows/builds.yml
vendored
6
.github/workflows/builds.yml
vendored
|
@ -29,6 +29,9 @@ jobs:
|
||||||
path: /home/runner/go/pkg/mod
|
path: /home/runner/go/pkg/mod
|
||||||
key: deps-${{ hashFiles('go.sum') }}
|
key: deps-${{ hashFiles('go.sum') }}
|
||||||
|
|
||||||
|
- name: Get tree-service client
|
||||||
|
run: make sync-tree
|
||||||
|
|
||||||
- name: Update Go modules
|
- name: Update Go modules
|
||||||
run: make dep
|
run: make dep
|
||||||
|
|
||||||
|
@ -62,6 +65,9 @@ jobs:
|
||||||
path: /home/runner/go/pkg/mod
|
path: /home/runner/go/pkg/mod
|
||||||
key: deps-${{ hashFiles('go.sum') }}
|
key: deps-${{ hashFiles('go.sum') }}
|
||||||
|
|
||||||
|
- name: Get tree-service client
|
||||||
|
run: make sync-tree
|
||||||
|
|
||||||
- name: Update Go modules
|
- name: Update Go modules
|
||||||
run: make dep
|
run: make dep
|
||||||
|
|
||||||
|
|
10
.github/workflows/tests.yml
vendored
10
.github/workflows/tests.yml
vendored
|
@ -15,6 +15,10 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Get tree-service client
|
||||||
|
run: make sync-tree
|
||||||
|
|
||||||
- name: golangci-lint
|
- name: golangci-lint
|
||||||
uses: golangci/golangci-lint-action@v2
|
uses: golangci/golangci-lint-action@v2
|
||||||
with:
|
with:
|
||||||
|
@ -42,6 +46,9 @@ jobs:
|
||||||
path: /home/runner/go/pkg/mod
|
path: /home/runner/go/pkg/mod
|
||||||
key: deps-${{ hashFiles('go.sum') }}
|
key: deps-${{ hashFiles('go.sum') }}
|
||||||
|
|
||||||
|
- name: Get tree-service client
|
||||||
|
run: make sync-tree
|
||||||
|
|
||||||
- name: Update Go modules
|
- name: Update Go modules
|
||||||
run: make dep
|
run: make dep
|
||||||
|
|
||||||
|
@ -78,6 +85,9 @@ jobs:
|
||||||
path: /home/runner/go/pkg/mod
|
path: /home/runner/go/pkg/mod
|
||||||
key: deps-${{ hashFiles('go.sum') }}
|
key: deps-${{ hashFiles('go.sum') }}
|
||||||
|
|
||||||
|
- name: Get tree-service client
|
||||||
|
run: make sync-tree
|
||||||
|
|
||||||
- name: Update Go modules
|
- name: Update Go modules
|
||||||
run: make dep
|
run: make dep
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue