Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
pawurb committed Jan 4, 2024
1 parent 33e4812 commit e16a1b9
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup
uses: actions/setup-node@v3
with:
node-version: '18.x'
- run: npm i
- run: curl -L https://foundry.paradigm.xyz | bash && foundryup
- name: Run Linter
run: npm run lint
- name: Run Compile
run: npx hardhat compile
- name: Run node and tests
run: anvil & sleep 2 && npx hardhat test
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Locker - provides a way to lock and hold your ETH, ERC20 or ERC721 in a smart contract
# Locker - provides a way to lock and hold your ETH or ERC20 in a smart contract [![GH Actions](https://github.com/pawurb/Locker/actions/workflows/ci.yml/badge.svg)](https://github.com/pawurb/Locker/actions)

**This is a BETA software that has not been audited for security. Incorrectly using these smart contracts can result in irreversible loss of your funds. USE AT YOUR OWN RISK!**

Expand Down

0 comments on commit e16a1b9

Please sign in to comment.