Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com>
  • Loading branch information
NikitaSkrynnik committed Apr 9, 2024
1 parent edee168 commit 138a7fd
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 133 deletions.
14 changes: 0 additions & 14 deletions .github/workflows/automerge.yaml

This file was deleted.

46 changes: 1 addition & 45 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,48 +7,4 @@ on:
- "release/**"
jobs:
yamllint:
uses: networkservicemesh/.github/.github/workflows/yamllint.yaml@main

build-and-test:
uses: networkservicemesh/.github/.github/workflows/build-and-test.yaml@main
with:
os: '["ubuntu-latest", "macos-latest", "windows-latest"]'

golangci-lint:
uses: networkservicemesh/.github/.github/workflows/golangci-lint.yaml@main
with:
linter-version: v1.53.3

exclude-fmt-errorf:
uses: networkservicemesh/.github/.github/workflows/exclude-fmt-errorf.yaml@main

restrict-nsm-deps:
uses: networkservicemesh/.github/.github/workflows/restrict-nsm-deps.yaml@main
with:
allowed_repositories: "api"

checkgomod:
uses: networkservicemesh/.github/.github/workflows/checkgomod.yaml@main

gogenerate:
uses: networkservicemesh/.github/.github/workflows/sdk-gogenerate.yaml@main

exclude-replace:
uses: networkservicemesh/.github/.github/workflows/exclude-replace.yaml@main

code-cov:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ["ubuntu-latest", "macos-latest"]
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v1
with:
go-version: 1.20.5
- run: |
go test -coverprofile=coverage-${{ matrix.os }}.txt -covermode=atomic -race ./...
- name: Upload coverage reports to Codecov with GitHub Action
uses: codecov/codecov-action@v3
uses: networkservicemesh/.github/.github/workflows/yamllint.yaml@main
20 changes: 0 additions & 20 deletions .github/workflows/codeql-analysis.yaml

This file was deleted.

11 changes: 0 additions & 11 deletions .github/workflows/pr-for-updates.yaml

This file was deleted.

11 changes: 2 additions & 9 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,9 @@ jobs:
echo tag=${branch#release/} >> $GITHUB_OUTPUT
id: get-tag-step

create-release:
name: Create release
needs: get-tag
uses: networkservicemesh/.github/.github/workflows/release.yaml@main
secrets:
token: ${{ secrets.NSM_BOT_GITHUB_TOKEN }}

release-dependent-repositories:
name: Release dependent repositories
needs: [get-tag, create-release]
needs: get-tag
uses: networkservicemesh/.github/.github/workflows/release-dependent-repositories.yaml@main
with:
tag: ${{ needs.get-tag.outputs.tag }}
Expand All @@ -58,4 +51,4 @@ jobs:
"cmd-csi-driver",
"cmd-dashboard-backend"]
secrets:
token: ${{ secrets.NSM_BOT_GITHUB_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
34 changes: 0 additions & 34 deletions .github/workflows/update-dependent-repositories-gomod.yaml

This file was deleted.

0 comments on commit 138a7fd

Please sign in to comment.