Skip to content

Commit d2e8b50

Browse files
committed
add ci (#1)
1 parent d0a7eed commit d2e8b50

File tree

6 files changed

+6833
-2
lines changed

6 files changed

+6833
-2
lines changed

.github/workflows/ci.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
tags:
8+
- 'v*.*.*'
9+
pull_request:
10+
branches:
11+
- '**'
12+
13+
14+
jobs:
15+
check:
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- uses: actions/checkout@v2
20+
with:
21+
fetch-depth: 0
22+
23+
- name: Setup Node.js
24+
uses: actions/setup-node@v1
25+
with:
26+
node-version: '10'
27+
28+
# Restore the yarn cache
29+
- uses: c-hive/gha-yarn-cache@v1
30+
31+
- name: Yarn install
32+
run: yarn install
33+
34+
- name: Build
35+
run: yarn build
36+
37+
- name: Test
38+
run: yarn start > /dev/null & yarn test
39+
40+
- name: Release
41+
uses: softprops/action-gh-release@v1
42+
if: startsWith(github.ref, 'refs/tags/')
43+
with:
44+
files: |
45+
build/Curve.json
46+
build/Eth_broker.json
47+
build/Token.json
48+
env:
49+
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

LICENSE

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
Copyright (c) 2021 The Bzzaar Authors. All rights reserved.
2+
3+
Redistribution and use in source and binary forms, with or without
4+
modification, are permitted provided that the following conditions are
5+
met:
6+
7+
* Redistributions of source code must retain the above copyright
8+
notice, this list of conditions and the following disclaimer.
9+
* Redistributions in binary form must reproduce the above
10+
copyright notice, this list of conditions and the following disclaimer
11+
in the documentation and/or other materials provided with the
12+
distribution.
13+
* Neither the name of Swarm nor the names of its
14+
contributors may be used to endorse or promote products derived from
15+
this software without specific prior written permission.
16+
17+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
20+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
21+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
23+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,3 +239,7 @@ Or jump directly to the final audit report:
239239
#### [> Final audit report](./Buzzar_final_audit_report.pdf)
240240

241241
---
242+
243+
### License
244+
245+
This library is distributed under the BSD-style license found in the LICENSE file.

contracts/Curve_test.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ pragma solidity 0.5.0;
22

33
import "./Curve.sol";
44

5-
contract curve_test is Curve {
5+
contract Curve_test is Curve {
66
constructor(address _token, address _collateralToken)
77
public
88
Curve(_token, _collateralToken)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"dependencies": {
2424
"@openzeppelin/contracts": "2.5.0",
2525
"dotenv": "8.0.0",
26-
"etherlime": "2.3.3",
26+
"etherlime": "2.3.5",
2727
"etherlime-lib": "1.2.3",
2828
"ethers": "5.0.15",
2929
"remixd": "^0.2.4-alpha.0"

0 commit comments

Comments
 (0)