Skip to content

Commit 2257307

Browse files
committed
CI: Move repo to a Makefile
#### Problem The feature-gate repo is still using package.json commands even though Makefile commands are great. #### Summary of changes Similar to many other repos: * remove test-sbf and bpf-entrypoint features * update all scripts * upgrade rust renderer to 1.0.22 to pass clippy * fix spellcheck errors * update ring for audit error * update fuzz program name, add README with info This repo also generates IDLs from the program implementation, so this PR also adds a `generate-idl-%` recipe for generating the IDL given a path, similar to other Rust packages. Requires solana-program/actions#14 to land.
1 parent 34ff896 commit 2257307

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+693
-1445
lines changed

.github/actions/setup/action.yml

Lines changed: 0 additions & 110 deletions
This file was deleted.

.github/dependabot.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
2+
- package-ecosystem: npm
3+
directory: "clients/js"
4+
schedule:
5+
interval: daily
6+
time: "09:00"
7+
timezone: UTC
8+
open-pull-requests-limit: 6
9+
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Dependabot auto-merge
2+
on: pull_request
3+
4+
permissions:
5+
contents: write
6+
pull-requests: write
7+
8+
jobs:
9+
dependabot:
10+
runs-on: ubuntu-latest
11+
if: github.event.pull_request.user.login == 'dependabot[bot]' && github.repository_owner == 'solana-program'
12+
steps:
13+
- name: Enable auto-merge
14+
run: gh pr merge --auto --squash "$PR_URL"
15+
env:
16+
PR_URL: ${{ github.event.pull_request.html_url }}
17+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18+
- name: Approve
19+
run: gh pr review --approve "$PR_URL"
20+
env:
21+
PR_URL: ${{ github.event.pull_request.html_url }}
22+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)