Skip to content

Commit

Permalink
Merge pull request #9 from onflow/gio/reorg-repo
Browse files Browse the repository at this point in the history
Restructure repo & add CI workflows
  • Loading branch information
sisyphusSmiling authored Oct 31, 2024
2 parents 616a519 + c306917 commit 85d798d
Show file tree
Hide file tree
Showing 19 changed files with 134 additions and 1,371 deletions.
4 changes: 2 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ ______

For contributor use:

- [ ] Targeted PR against `master` branch
- [ ] Targeted PR against `main` branch
- [ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
- [ ] Code follows the [standards mentioned here](https://github.com/onflow/flow-nft/blob/master/CONTRIBUTING.md#styleguides).
- [ ] Code follows the [standards mentioned here](https://github.com/onflow/batched-evm-exec-example/blob/master/CONTRIBUTING.md#styleguides).
- [ ] Updated relevant documentation
- [ ] Re-reviewed `Files changed` in the Github PR explorer
- [ ] Added appropriate labels
16 changes: 16 additions & 0 deletions .github/workflows/add_issues_to_devx_project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Add Issues To DevEx Project

on:
issues:
types:
- opened

jobs:
add-to-project:
name: Add issue to project
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@v0.4.1
with:
project-url: https://github.com/orgs/onflow/projects/13
github-token: ${{ secrets.GH_ACTION_FOR_PROJECTS }}
30 changes: 30 additions & 0 deletions .github/workflows/cadence_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: CI

on: pull_request

jobs:
tests:
name: Flow CLI Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: "1.20.x"
- uses: actions/cache@v1
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Install Flow CLI
run: sh -ci "$(curl -fsSL https://raw.githubusercontent.com/onflow/flow-cli/master/install.sh)"
- name: Flow CLI Version
run: flow version
- name: Update PATH
run: echo "/root/.local/bin" >> $GITHUB_PATH
- name: Install dependencies
run: flow deps install
- name: Run tests
run: flow test --cover --covercode="contracts" --coverprofile="coverage.lcov" cadence/tests/*.cdc
File renamed without changes.
File renamed without changes.
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
[submodule "solidity/lib/openzeppelin-contracts"]
path = solidity/lib/openzeppelin-contracts
url = https://github.com/OpenZeppelin/openzeppelin-contracts
[submodule "lib/forge-std"]
path = lib/forge-std
url = https://github.com/foundry-rs/forge-std
[submodule "solidity/lib/forge-std"]
path = solidity/lib/forge-std
url = https://github.com/foundry-rs/forge-std
14 changes: 9 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
# Contributing to the Non-Fungible Token Standard
# Contributing to Batched EVM Exec Example

The following is a set of guidelines for contributing to the Flow NFT standard. These are mostly guidelines, not rules. Use your best judgment, and feel free to propose changes to this document in a pull request.
The following is a set of guidelines for contributing to the Batched EVM Exec Example repo. These are mostly guidelines, not rules. Use your best judgment, and feel free to propose changes to this document in a pull request.

#### Table Of Contents

[How Can I Contribute?](#how-can-i-contribute)

- [Reporting Bugs](#reporting-bugs)
- [Suggesting Enhancements](#suggesting-enhancements)
- [Pull Requests](#pull-requests)
- [How Can I Contribute?](#how-can-i-contribute)
- [Reporting Bugs](#reporting-bugs)
- [Suggesting Enhancements](#suggesting-enhancements)
- [Pull Requests](#pull-requests)
- [Styleguides](#styleguides)
- [Git Commit Messages](#git-commit-messages)
- [Additional Notes](#additional-notes)

[Styleguides](#styleguides)

Expand Down
205 changes: 0 additions & 205 deletions contracts/utility/FungibleToken.cdc

This file was deleted.

Loading

0 comments on commit 85d798d

Please sign in to comment.