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

Changes for new repository #1

Merged
merged 15 commits into from
Nov 27, 2024
Merged
6 changes: 6 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
root = true

[*]
indent_size = 2
indent_style = space
insert_final_newline = true
max_line_length = 100
trim_trailing_whitespace = true
4 changes: 1 addition & 3 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
/crates/cairo-lang-doc @orizi @mkaput @Arcticae @Draggu @piotmag769 @integraledelebesgue
/crates/cairo-lang-language-server @orizi @mkaput @Arcticae @Draggu @piotmag769 @integraledelebesgue
/vscode-cairo @orizi @mkaput @Arcticae @Draggu @piotmag769 @integraledelebesgue
* @software-mansion/cairo-ls
37 changes: 0 additions & 37 deletions .github/ISSUE_TEMPLATE/01_BUG_REPORT.md

This file was deleted.

35 changes: 0 additions & 35 deletions .github/ISSUE_TEMPLATE/02_FEATURE_REQUEST.md

This file was deleted.

7 changes: 0 additions & 7 deletions .github/ISSUE_TEMPLATE/03_CODEBASE_IMPROVEMENT.md

This file was deleted.

53 changes: 53 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Bug Report
description: Create a report to help us improve
labels: ["bug"]
body:
- type: markdown
attributes:
value: Thanks for filing a 🐛 bug report 😄!
- type: textarea
id: problem
attributes:
label: Problem
description: >
Please provide a clear and concise description of what the bug is,
including what currently happens and what you expected to happen.
validations:
required: true
- type: textarea
id: steps
attributes:
label: Steps
description: Please list the steps to reproduce the bug.
placeholder: |
1.
2.
3.
- type: textarea
id: possible-solutions
attributes:
label: Possible Solution(s)
description: >
Not obligatory, but suggest a fix/reason for the bug,
or ideas how to implement the addition or change.
- type: textarea
id: notes
attributes:
label: Notes
description: Provide any additional notes that might be helpful.
- type: textarea
id: scarb-version
attributes:
label: Scarb Version
description: >
Please paste the output of running `scarb --version`.
Remember to do this in the affected project directory.
render: text
- type: textarea
id: vscode-version
attributes:
label: Visual Studio Code Version
description: >
Please paste version information about Visual Studio Code.
You can obtain it from the "About" dialog.
render: text
8 changes: 3 additions & 5 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
---
blank_issues_enabled: false
contact_links:
- name: Cairo Community Support
url: https://github.com/starkware-libs/cairo/discussions
about: Please ask and answer questions here.
- name: Cairo Language Server Telegram Channel
url: https://t.me/cairo_ls_support
about: Have a question or issue? Chat with the community and developers here.
35 changes: 35 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Feature Request
description: Suggest an idea for enhancing Cairo extension for Visual Studio Code
labels: ["enhancement"]
body:
- type: markdown
attributes:
value: |
Thanks for filing a 🙋 feature request 😄!

If the feature request is relatively small and already with a possible solution, this might be the place for you.

If you are brewing a big feature that needs feedback from the community, [the CairoLS Telegram channel][tg] is the best fit.
You can also talk the idea over with other developers over there.

[tg]: https://t.me/cairo_ls_support
- type: textarea
id: problem
attributes:
label: Problem
description: >
Please provide a clear description of your use case and the problem
this feature request is trying to solve.
validations:
required: true
- type: textarea
id: solution
attributes:
label: Proposed Solution
description: >
Please provide a clear and concise description of what you want to happen.
- type: textarea
id: notes
attributes:
label: Notes
description: Provide any additional context or information that might be helpful.
19 changes: 0 additions & 19 deletions .github/workflows/artifacts.yml

This file was deleted.

27 changes: 27 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CI

on:
push:
branches:
- main
pull_request:
merge_group:

permissions:
contents: read

jobs:
fmt-and-lint:
name: format, lint and test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "22.x"
cache: npm
- run: npm ci
- run: npm run lint-fmt
- run: npm run lint-eslint
- run: npm run compile-test
- run: npm test
Loading