Skip to content

Commit

Permalink
add ci (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
ralph-pichler committed Jun 14, 2021
1 parent d0a7eed commit d2e8b50
Show file tree
Hide file tree
Showing 6 changed files with 6,833 additions and 2 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: CI

on:
push:
branches:
- master
tags:
- 'v*.*.*'
pull_request:
branches:
- '**'


jobs:
check:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: '10'

# Restore the yarn cache
- uses: c-hive/gha-yarn-cache@v1

- name: Yarn install
run: yarn install

- name: Build
run: yarn build

- name: Test
run: yarn start > /dev/null & yarn test

- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
build/Curve.json
build/Eth_broker.json
build/Token.json
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
27 changes: 27 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
Copyright (c) 2021 The Bzzaar Authors. All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:

* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the
distribution.
* Neither the name of Swarm nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,3 +239,7 @@ Or jump directly to the final audit report:
#### [> Final audit report](./Buzzar_final_audit_report.pdf)

---

### License

This library is distributed under the BSD-style license found in the LICENSE file.
2 changes: 1 addition & 1 deletion contracts/Curve_test.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ pragma solidity 0.5.0;

import "./Curve.sol";

contract curve_test is Curve {
contract Curve_test is Curve {
constructor(address _token, address _collateralToken)
public
Curve(_token, _collateralToken)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"dependencies": {
"@openzeppelin/contracts": "2.5.0",
"dotenv": "8.0.0",
"etherlime": "2.3.3",
"etherlime": "2.3.5",
"etherlime-lib": "1.2.3",
"ethers": "5.0.15",
"remixd": "^0.2.4-alpha.0"
Expand Down
Loading

0 comments on commit d2e8b50

Please sign in to comment.