Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

391 convert codecov token to variable #392

Merged
merged 3 commits into from
Jan 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: CryptoLib

global_env:
CODECOV_TOKEN: 71699f25-12a3-44a4-8a83-be777b9e577a

on:
pull_request:
branches: [ main, dev ]
Expand Down Expand Up @@ -54,7 +57,7 @@ jobs:
- name: Upload
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: 71699f25-12a3-44a4-8a83-be777b9e577a
CODECOV_TOKEN: ${{ matrix.global_env.CODECOV_TOKEN }}
with:
files: 'coverage/*.c.gcov'
verbose: true
Expand Down Expand Up @@ -103,7 +106,7 @@ jobs:
# - name: Upload
# uses: codecov/codecov-action@v4
# env:
# CODECOV_TOKEN: 71699f25-12a3-44a4-8a83-be777b9e577a
# CODECOV_TOKEN: ${{ matrix.global_env.CODECOV_TOKEN }}
# with:
# files: 'coverage/*.c.gcov'
# verbose: true
Expand Down Expand Up @@ -156,7 +159,7 @@ jobs:
- name: Upload
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: 71699f25-12a3-44a4-8a83-be777b9e577a
CODECOV_TOKEN: ${{ matrix.global_env.CODECOV_TOKEN }}
with:
files: 'coverage/*.c.gcov'
verbose: true
Expand Down Expand Up @@ -210,7 +213,7 @@ jobs:
- name: Upload
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: 71699f25-12a3-44a4-8a83-be777b9e577a
CODECOV_TOKEN: ${{ matrix.global_env.CODECOV_TOKEN }}
with:
files: 'coverage/*.c.gcov'
verbose: true
Expand Down Expand Up @@ -244,7 +247,7 @@ jobs:
- name: Upload
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: 71699f25-12a3-44a4-8a83-be777b9e577a
CODECOV_TOKEN: ${{ matrix.global_env.CODECOV_TOKEN }}
with:
files: 'coverage/*.c.gcov'
verbose: true
2 changes: 1 addition & 1 deletion support/standalone/standalone.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ extern "C"
#define CRYPTO_MAX_INPUT_TOKENS 32
#define CRYPTO_MAX_INPUT_TOKEN_SIZE 64

#define CRYPTO_CMD_UNKNOWN -1
#define CRYPTO_CMD_UNKNOWN (-1)
#define CRYPTO_CMD_HELP 0
#define CRYPTO_CMD_EXIT 1
#define CRYPTO_CMD_NOOP 2
Expand Down
Loading