-
Notifications
You must be signed in to change notification settings - Fork 375
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into feature/simple-tx-indexing
- Loading branch information
Showing
176 changed files
with
8,007 additions
and
594 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
version: 3 | ||
|
||
# https://github.com/fossas/fossa-cli/blob/master/docs/references/files/fossa-yml.md | ||
|
||
project: | ||
id: github.com/gnolang/gno | ||
name: gno | ||
|
||
targets: | ||
only: | ||
- type: gomod | ||
|
||
paths: | ||
exclude: | ||
- ./misc/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,54 @@ | ||
codecov: | ||
require_ci_to_pass: no | ||
require_ci_to_pass: false | ||
notify: | ||
wait_for_ci: no | ||
wait_for_ci: true | ||
|
||
ignore: | ||
- misc | ||
|
||
comment: false # will use it later. | ||
comment: | ||
require_changes: false | ||
|
||
coverage: | ||
round: down | ||
precision: 2 | ||
status: | ||
project: off | ||
patch: off | ||
project: | ||
default: | ||
target: auto | ||
threshold: 10 # Let's decrease this later. | ||
base: parent | ||
if_no_uploads: error | ||
if_not_found: success | ||
if_ci_failed: error | ||
only_pulls: false | ||
patch: | ||
default: | ||
target: auto | ||
threshold: 100 # Allows PRs without tests, overall stats count. | ||
base: auto | ||
if_no_uploads: error | ||
if_not_found: success | ||
if_ci_failed: error | ||
only_pulls: false | ||
|
||
flags: | ||
flag_management: | ||
default_rules: | ||
carryforward: true | ||
tm2: | ||
paths: | ||
statuses: | ||
- type: project | ||
target: auto | ||
threshold: 10 # Let's decrease this later. | ||
- type: patch | ||
target: auto # Allows PRs without tests, overall stats count. | ||
threshold: 100 | ||
individual_flags: | ||
- name: tm2 | ||
paths: | ||
- tm2 | ||
after_n_builds: 4 | ||
gnovm: | ||
paths: | ||
- name: gnovm | ||
paths: | ||
- gnovm | ||
after_n_builds: 9 | ||
gno.land: | ||
paths: | ||
- name: gno.land | ||
paths: | ||
- gno.land | ||
after_n_builds: 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: Dependency License Scanning | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
paths: | ||
- ".github/.fossa.yml" | ||
- ".github/workflows/fossa.yml" | ||
schedule: | ||
- cron: '0 0 * * 6' # At 00:00 on saturdays | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
fossa: | ||
name: Fossa | ||
runs-on: ubuntu-latest | ||
if: github.repository == 'gnolang/gno' | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
# we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves | ||
fetch-depth: 0 | ||
|
||
- name: Move .fossa.yml to root dir | ||
run: mv .github/.fossa.yml . | ||
|
||
- name: Cache Coursier cache | ||
uses: coursier/cache-action@v6.4.0 | ||
|
||
- name: Set up JDK 17 | ||
uses: coursier/setup-action@v1.3.0 | ||
with: | ||
jvm: temurin:1.17 | ||
|
||
- name: Set up fossa CLI | ||
run: "curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install-latest.sh | bash" | ||
|
||
- name: FOSSA analyze | ||
run: fossa analyze | ||
env: | ||
FOSSA_API_KEY: "${{secrets.FOSSA_API_KEY}}" | ||
|
||
- name: FOSSA test | ||
run: fossa test | ||
env: | ||
FOSSA_API_KEY: "${{secrets.FOSSA_API_KEY}}" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.