File tree Expand file tree Collapse file tree 14 files changed +305
-12
lines changed
generate_country_data/src Expand file tree Collapse file tree 14 files changed +305
-12
lines changed Original file line number Diff line number Diff line change 1+ allow-expect-in-tests = true
2+ allow-unwrap-in-tests = true
3+ allow-dbg-in-tests = true
4+ allow-print-in-tests = true
Original file line number Diff line number Diff line change 1+ name : Bug Report
2+ description : Create a report to help us improve
3+ labels : bug
4+ body :
5+ - type : markdown
6+ attributes :
7+ value : Thank you for filing a bug report! 🐛
8+
9+ - type : textarea
10+ id : summary
11+ attributes :
12+ label : Summary
13+ description : Please provide a short summary of the bug
14+ validations :
15+ required : true
16+
17+ - type : textarea
18+ id : reproduction-steps
19+ attributes :
20+ label : Reproduction Steps
21+ description : Steps to replicate the bug
22+ validations :
23+ required : true
24+
25+ - type : textarea
26+ id : expected-outcome
27+ attributes :
28+ label : Expected Outcome
29+ description : What you expected to happen
30+ validations :
31+ required : true
32+
33+ - type : textarea
34+ id : actual-outcome
35+ attributes :
36+ label : Actual Outcome
37+ description : What actually happened
38+ validations :
39+ required : true
40+
41+ - type : textarea
42+ id : extra-info
43+ attributes :
44+ label : Additional information
45+ description : Please provide any additional information that could be useful
Original file line number Diff line number Diff line change 1+ ---
2+ name : Enhancement
3+ about : Suggest an improvement
4+ labels : C-enhancement
5+ ---
Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ - package-ecosystem : " cargo"
4+ directory : " /"
5+ schedule :
6+ interval : " weekly"
7+ groups :
8+ rust-dependencies :
9+ update-types :
10+ - " minor"
11+ - " patch"
12+ - package-ecosystem : " github-actions"
13+ directory : " /"
14+ schedule :
15+ interval : " weekly"
Original file line number Diff line number Diff line change 1+ name : Security audit
2+
3+ on :
4+ schedule :
5+ - cron : ' 0 0 * * 1' # every Monday at 00:00 UTC
6+ pull_request :
7+ paths :
8+ - ' **/Cargo.toml'
9+ - ' **/Cargo.lock'
10+ push :
11+ paths :
12+ - ' **/Cargo.toml'
13+ - ' **/Cargo.lock'
14+ branches :
15+ - main
16+
17+ env :
18+ RUST_BACKTRACE : 1
19+ CARGO_TERM_COLOR : always
20+ CLICOLOR : 1
21+
22+ jobs :
23+ security_audit :
24+ permissions :
25+ issues : write
26+ checks : write
27+ runs-on : ubuntu-latest
28+ steps :
29+ - name : Checkout repository
30+ uses : actions/checkout@v4
31+ - uses : rustsec/audit-check@v2
32+ with :
33+ token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1- name : Build
1+ name : Check
22on :
33 pull_request :
44 push :
55 branches :
66 - main
77
88env :
9+ RUST_BACKTRACE : 1
910 CARGO_TERM_COLOR : always
11+ CLICOLOR : 1
1012
1113jobs :
1214 check :
5254 - uses : cachix/install-nix-action@v27
5355
5456 - run : nix build
57+
58+ spelling :
59+ name : Check spelling errors
60+ runs-on : ubuntu-latest
61+ steps :
62+ - name : Checkout Actions Repository
63+ uses : actions/checkout@v4
64+ - name : Spell Check Repo
65+ uses : crate-ci/typos@master
Original file line number Diff line number Diff line change 1+ name : Automatic dependency updates
2+
3+ on :
4+ pull_request :
5+ workflow_dispatch :
6+
7+ permissions :
8+ contents : write
9+ pull-requests : write
10+
11+ jobs :
12+ dependabot :
13+ runs-on : ubuntu-latest
14+ if : github.actor == 'dependabot[bot]'
15+ steps :
16+ - name : Dependabot metadata
17+ id : metadata
18+ uses : dependabot/fetch-metadata@v2
19+ with :
20+ github-token : " ${{ secrets.GITHUB_TOKEN }}"
21+ - name : Enable auto-merge for Dependabot PRs
22+ run : gh pr merge --auto --rebase "$PR_URL"
23+ env :
24+ PR_URL : ${{github.event.pull_request.html_url}}
25+ GH_TOKEN : ${{secrets.GITHUB_TOKEN}}
Original file line number Diff line number Diff line change 1+ name : Enforce conventional commit PR titles
2+
3+ on :
4+ pull_request_target :
5+ types :
6+ - opened
7+ - edited
8+ - reopened
9+
10+ jobs :
11+ main :
12+ name : Validate PR title
13+ runs-on : ubuntu-latest
14+ permissions :
15+ pull-requests : read
16+ steps :
17+ - uses : amannn/action-semantic-pull-request@v5
18+ env :
19+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1- target /
1+ # cargo builds into this directory
2+ /target
3+
4+ # output from `nix build`
5+ result
Original file line number Diff line number Diff line change 1+ use_field_init_shorthand = true
You can’t perform that action at this time.
0 commit comments