Skip to content

Commit

Permalink
chore: add release ci (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
sakulstra authored Aug 2, 2022
1 parent 76217c4 commit 0f73856
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 38 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
ETHERSCAN_API_KEY=
RPC_URL=
PRIVATE_KEY=
PRIVATE_KEY=
12 changes: 12 additions & 0 deletions .github/workflows/dispatch-draft-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Draft release

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true

on:
workflow_dispatch:

jobs:
draft-release:
uses: bgd-labs/github-workflows/.github/workflows/draft-release.yml@main
18 changes: 18 additions & 0 deletions .github/workflows/merge-main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Head branch workflow

concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true

on:
pull_request:
push:
branches:
- master

jobs:
test:
uses: bgd-labs/github-workflows/.github/workflows/foundry-test.yml@main
release:
needs: [test]
uses: bgd-labs/github-workflows/.github/workflows/release.yml@main
34 changes: 0 additions & 34 deletions .github/workflows/test.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ out/
.env
broadcast
node_modules
package-lock.json
package-lock.json
5 changes: 3 additions & 2 deletions foundry.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[default]
[profile.default]
src = 'src'
out = 'out'
libs = ['lib']
eth_rpc_url = 'https://rpc.flashbots.net/'
block_number = 15263859

# See more config options https://github.com/foundry-rs/foundry/tree/master/config

0 comments on commit 0f73856

Please sign in to comment.