Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
qimiko committed Jul 6, 2024
2 parents 98927fc + bde8854 commit bdad800
Show file tree
Hide file tree
Showing 822 changed files with 82,961 additions and 106,209 deletions.
19 changes: 19 additions & 0 deletions .github/ISSUE_TEMPLATE/flag-request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Flag Request
about: Template for requesting new flags to be added to the Stats Viewer
title: "[FLAGS]"
labels: ''
assignees: ''

---

<!-- To request a new flag be added to the stats viewer, please fill out the below information. Note that we can only accept flags that are in the public domain, or are otherwise free for commercial use without attribution/similar conditions. Note that we cannot accept self-drawn flags due to our inability to verify they actually are self-drawn -->

Please add the following missing flag to the pointercrate stats viewer:

**Country**: <!-- for example "United States" -->
**Subdivision**: <!-- for example "Ohio" -->
**ISO-Code**: <!-- for example "US-OH" -->
**Link to PUBLIC DOMAIN `.svg` of flag**: <!-- for example https://commons.wikimedia.org/wiki/File:Flag_of_Ohio.svg - Wikimedia or similar sources preferred due to ease of verifying public domain status -->

Thanks
14 changes: 14 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
version: 2
updates:
- package-ecosystem: "cargo"
directory: "/"
schedule:
interval: "weekly"
day: "sunday"
allow:
- dependency-type: "all"
open-pull-requests-limit: 1
groups:
pointercrate:
patterns:
- "*"
3 changes: 3 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## License Acceptance

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
2 changes: 1 addition & 1 deletion .github/workflows/rustfmt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
toolchain: stable
override: true
components: rustfmt
- run: rustup component add rustfmt
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,21 @@ jobs:
DATABASE_URL: postgresql://pointercrate:postgres@localhost/postgres
RUST_BACKTRACE: 1
RUSTFLAGS: -Cinstrument-coverage
LIST_SIZE: 75
EXNTEDED_LIST_SIZE: 150

- name: Install grcov
uses: actions-rs/cargo@v1
with:
command: install
args: grcov

- name: Generate coverage report
run: grcov . -s . --binary-path ./target/debug/ -t lcov --ignore-not-existing -o ./target/debug/coverage.lcov --ignore "pointercrate-test/*" --ignore "pointercrate-example/*" --keep-only "pointercrate-*"

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
files: ./target/debug/coverage.lcov
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
.env
.secret
.idea
run_coverage.sh
codecov
.vscode
Loading

0 comments on commit bdad800

Please sign in to comment.