Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,3 @@ DISCORD_TOKEN=

# Proxy
PROXY_URL=

# FRP
FRP_SERVER_ADDRESS=
FRP_TOKEN=
FRP_REMOTE_PORT=
21 changes: 21 additions & 0 deletions .github/workflows/build-binary.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Build binary
on:
workflow_dispatch:
push:
jobs:
build-binary:
name: Build binary
runs-on: ubuntu-24.04-arm
steps:
- uses: actions/checkout@v6

- name: Build binary
run: cargo build --verbose

- run: cp target/debug/embdr ./embdr-arm64

- uses: actions/upload-artifact@v7
with:
name: embdr-arm64
path: ./embdr-arm64
archive: false
34 changes: 34 additions & 0 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Publish release

permissions:
contents: write

on:
push:
tags:
- "v*"
jobs:
publish-release:
name: Publish release
runs-on: ubuntu-24.04-arm
steps:
- uses: actions/checkout@v6

- name: Build binary
run: cargo build --release --verbose

- run: cp target/release/embdr ./embdr-arm64

- name: Publish release
uses: softprops/action-gh-release@v3
with:
files: ./embdr-arm64
generate_release_notes: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- uses: actions/upload-artifact@v7
with:
name: embdr-arm64
path: ./embdr-arm64
archive: false
27 changes: 27 additions & 0 deletions .github/workflows/run-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Run checks
on:
workflow_dispatch:
push:
pull_request:
jobs:
cargo-check:
name: Run cargo checks
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Install bun dependencies
run: bun install
- name: Run cargo checks
run: cargo check

cargo-test:
name: Run cargo tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Install bun dependencies
run: bun install
- name: Run cargo tests
run: cargo test
7 changes: 2 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# Secrets
/.env

# Bun
/node_modules

# Cache
/cache
# Cargo
/target
3 changes: 0 additions & 3 deletions .vscode/extensions.json

This file was deleted.

14 changes: 0 additions & 14 deletions .vscode/settings.json

This file was deleted.

46 changes: 0 additions & 46 deletions .zed/settings.json

This file was deleted.

1 change: 1 addition & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- No abbreviations in variable, function or other names.
Loading
Loading