Skip to content

Commit 41075de

Browse files
committed
test and tag
1 parent 4af5007 commit 41075de

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

.github/workflows/tag.yaml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: tag
2+
on:
3+
workflow_run:
4+
workflows:
5+
- test
6+
branches:
7+
- main
8+
- dev
9+
types:
10+
- completed
11+
jobs:
12+
tag:
13+
name: Tag the repository
14+
runs-on: ubuntu-latest
15+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
16+
permissions:
17+
contents: write
18+
steps:
19+
- uses: actions/checkout@v4
20+
with:
21+
fetch-depth: '0'
22+
- name: Bump version and push tag
23+
uses: anothrNick/github-tag-action@v1
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26+
WITH_V: true
27+
PRERELEASE_SUFFIX: dev

.github/workflows/test.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,13 @@ jobs:
2222
- name: Unit testing
2323
env:
2424
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25-
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN}}
25+
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
2626
run: make unit-test-publish-report
2727
- name: Integration testing
2828
run: make integration-test
2929
- name: Static Analysis
3030
run: make static-analysis
3131
- name: Security Analysis
32+
env:
33+
NVD_API_KEY: ${{ secrets.NVD_API_KEY }}
3234
run: make security-analysis

0 commit comments

Comments
 (0)