Skip to content

Commit

Permalink
Merge pull request #44 from pentagonxyz/dev
Browse files Browse the repository at this point in the history
Feat: Huffmate V1
  • Loading branch information
refcell authored Sep 23, 2022
2 parents c0eb033 + 47145d3 commit a8b0009
Show file tree
Hide file tree
Showing 144 changed files with 14,979 additions and 735 deletions.
596 changes: 522 additions & 74 deletions .gas-snapshot

Large diffs are not rendered by default.

35 changes: 0 additions & 35 deletions .github/ISSUE_TEMPLATES/bug-report.yml

This file was deleted.

12 changes: 0 additions & 12 deletions .github/ISSUE_TEMPLATES/feature-request.yml

This file was deleted.

55 changes: 42 additions & 13 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,39 +10,68 @@ on:
- test/**
- src/**

# Foundry env
env:
FOUNDRY_PROFILE: ci

jobs:
check:
strategy:
fail-fast: true

name: Foundry project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly

- name: Install Huff
uses: huff-language/huff-toolchain@v2
with:
version: nightly

- name: Run Forge build
run: |
forge --version
forge build --sizes
run: forge --version && forge build --sizes
id: build

tests:
strategy:
fail-fast: true
name: Foundry project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Install Huff
uses: huff-language/huff-toolchain@v2
with:
version: nightly
- name: Run Forge tests
run: |
forge test -vvv
run: forge test -vvv
id: test

huff-tests:
name: Tests in Huff
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Install Huff
uses: huff-language/huff-toolchain@v2
with:
version: nightly
- name: Huff Tests
uses: abigger87/huff-tests@v2.0.0
with:
with-forge-tests: false
test-location: "src"
test-extension: "*.huff"

21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2022 Pentagon

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
201 changes: 0 additions & 201 deletions LICENSE-APACHE

This file was deleted.

Loading

0 comments on commit a8b0009

Please sign in to comment.