Skip to content

Commit

Permalink
Merge pull request #3 from keep-starknet-strange/1-feat-gh-test
Browse files Browse the repository at this point in the history
feat: gh test
  • Loading branch information
drspacemn committed Jan 19, 2024
2 parents ba0809a + a3dd975 commit 19ea74c
Show file tree
Hide file tree
Showing 10 changed files with 58 additions and 58 deletions.
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/01_FEATURE_REQUEST.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ assignees: ""

<!-- Description -->


## References
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/02_BUG_REPORT.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@ assignees: ""

<!-- Description(current vs expected behavior) -->


**How to reproduce:**
14 changes: 2 additions & 12 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,4 @@
---
title: {{ env.GITHUB_BASE_REF }}
---
<!--TODO does env need to be changed?-->

<!-- uncomment line below if change is breaking -->
<!-- ## CHANGE IS BREAKING -->
## Issue Number: N/A

- [ ] feat
- [ ] bug
- [ ] dev (no functional changes)
<!-- markdownlint-disable-next-line MD026 -->
## `blobstream-sn` Issue #

<!-- Description Below -->
8 changes: 6 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
name: build

on: [push, pull_request]

on:
workflow_dispatch:
push:
branches:
- main
pull_request:
permissions: read-all

jobs:
Expand Down
18 changes: 16 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,24 @@
name: check

on: [push, pull_request]
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
permissions: read-all

jobs:
check:
markdown:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: |
sudo gem install mdl
mdl -s docs/linter/readme_style.rb README.md
mdl -s docs/linter/base_style.rb CONTRIBUTING.md docs .github
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
18 changes: 2 additions & 16 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,17 +1,5 @@
# Generated by Cargo
# will have compiled files and executables
debug/
target/

# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
Cargo.lock

# These are backup files generated by rustfmt
**/*.rs.bk

# MSVC Windows builds of rustc generate these, which store debugging information
*.pdb
# Sys files
**/.DS_Store

# Scarb and Starknet Foundry
**/target
Expand All @@ -20,5 +8,3 @@ Cargo.lock
# Starkli
**/account.json
**/keystore.json

**/.DS_Store
35 changes: 18 additions & 17 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
Welcome, welcome, contributing to blobstream-sn is easy!

1. Submit or comment your intent on an issue
2. We will try to respond quickly
3. [Fork](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo) this repository and develop
4. Submit your PR against `main`
5. Address PR Review
1. We will try to respond quickly
1. Fork this repo
1. Submit your PR against `main`
1. Address PR Review

### Issue

Project tracking is done via GitHub [issues](https://github.com/keep-starknet-strange/blobstream-sn/issues).
First look at open issues to see if your request is already submitted. If it is comment on the issue requesting assignment,
if not open an issue.
First look at open issues to see if your request is already submitted.
If it is comment on the issue requesting assignment, if not open an issue.

We use 3 issue [labels](https://github.com/keep-starknet-strange/blobstream-sn/issues/new):

Expand All @@ -24,22 +24,23 @@ Your branch must be prefixed in the following issue map (`type`, `title:`, `bran
- `Bug report` -> `bug:` -> `bug/{issue #}-{issue name}`
- `Codebase improvement` -> `dev:` -> `dev/{issue #}-{issue name}`

#### Bug Reports
Please try to create bug reports that are:

- _Reproducible._ Include steps to reproduce the problem.
- _Specific._ Include as much detail as possible: which version, what environment, etc.
- _Unique._ Do not duplicate existing opened issues.
- _Scoped to a Single Bug._ One bug per report.

### Submit PR

Ensure your code is well formatted, well tested and well documented. A core contributor
will review your work. Address changes, ensure ci passes, and voilà you're a blobstream-sn contributor.
will review your work. Address changes, ensure ci passes,
and voilà you're a blobstream-sn contributor.

### Additional Resources

General info on [syncing a fork](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork).
Here are some resources to help you get started:

***ping the [TG](https://t.me/+N7UqCg2hxA4wNTZh) for questions***
- [Cairo Book](https://book.cairo-lang.org/)
- [Starknet Book](https://book.starknet.io/)
- [Starknet Foundry Book](https://foundry-rs.github.io/starknet-foundry/)
- [Starknet By Example](https://starknet-by-example.voyager.online/)
- [Starkli Book](https://book.starkli.rs/)
- [Blockstream-sn TG](https://t.me/+N7UqCg2hxA4wNTZh)
- [Syncing a Fork](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork)

##

Expand Down
9 changes: 2 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,16 @@
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->

<div align="center">
<img style="margin-bottom: 3px" src="docs/images/blobstreamSnBanner.png" height="300" />

<img style="margin-bottom: 3px" src="docs/images/blobstreamSnBanner.png" height="250"/>

[![Check Workflow Status](https://github.com/keep-starknet-strange/blobstream-sn/actions/workflows/check.yml/badge.svg)](https://github.com/keep-starknet-strange/blobstream-sn/actions/workflows/check.yml)
[![Build Workflow Status](https://github.com/keep-starknet-strange/blobstream-sn/actions/workflows/build.yml/badge.svg)](https://github.com/keep-starknet-strange/blobstream-sn/actions/workflows/build.yml)

[![Exploration_Team](https://img.shields.io/badge/Exploration_Team-29296E.svg?&style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iNDAiIHpvb21BbmRQYW49Im1hZ25pZnkiIHZpZXdCb3g9IjAgMCAzMCAzMCIgaGVpZ2h0PSI0MCIgcHJlc2VydmVBc3BlY3R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VZBRnFlN09yZElETFAwTHdEeC9BMWE3L1J0bVg4UHdQZ3d2UFZPNDJkMEFUTk0xUW80RTNYWG0yVVZlSTJ4ZDcyWUxNRmZsZnhIdlpuQjNVdWZaWDE1NDJFMGRPMGl0Wkdaa1loaEkzaVF6elQ2N3R3VlYzYzRNd014YWEwY3Q5MmhOaHVHdExjczlNN3REQUZUVnpJcS9MTjRhajB4VkFHb1dtWGVOOENPem9yVm01dTVCaWo3YjEvMlBjUDJqdXNYcHRCVmNGcy9jbG40SnFTb3pvL1I2OGZwMkQxSmJvN3QxUUY5U3BXVG11bjZhSmFsSHBwbVJUZmFMS3hkL0dhYkFSVlZGa0xuVnpVUkV0UFpnQXFoYkxDWkpWUVV1MVdHem1XUjZoR2ZLdXNZNFBqbThGOC9yOWV0OFByc2I2Y0Q0MUo3citqM1AvMCtuajc5TUFPNnB5bkY4dE9jVHVlSit2OVcrOW12djV0WERQcmk5YWV6bmN6ZVM3cHYvblNrQ0VmNENWOTk1cjAvV2t4U3pLT255VmxYSi9teTMrYUhBZEJnakFFYnlOZ3h2Skd1a2tCeUdOL0oyR0NNQUNFdy9EU2xMWS8wb1VrZ0FBQUFBU1VWT1JLNUNZSUk9IiBoZWlnaHQ9IjIwIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWlkWU1pZCBtZWV0Ii8+PC9nPjwvZz48L2c+PC9zdmc+)](https://github.com/keep-starknet-strange)


</div>

## Overview

`blobstream-sn` is a port of Celestia Blobstream [contracts](https://github.com/celestiaorg/blobstream-contracts)
`blobstream-sn` is a port of Celestia Blobstream [contracts](https://github.com/celestiaorg/blobstream-contracts)
in [Cairo](https://book.cairo-lang.org/) for [Starknet](https://starknet.io/).

## Build
Expand Down
4 changes: 4 additions & 0 deletions docs/linter/base_style.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
all
# lame rules
exclude_rule 'MD002'
exclude_rule 'MD041'
8 changes: 8 additions & 0 deletions docs/linter/readme_style.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
all
# allow inline HTML for README fmt
exclude_rule 'MD033'
# badges trigger rule
exclude_rule 'MD034'
# README img serves as 'First Header'
exclude_rule 'MD002'
exclude_rule 'MD041'

0 comments on commit 19ea74c

Please sign in to comment.