Skip to content
This repository has been archived by the owner on Dec 23, 2024. It is now read-only.

Commit

Permalink
Merge pull request #5 from rust-lang-uz/rust
Browse files Browse the repository at this point in the history
Rust rewrite
  • Loading branch information
orzklv authored Dec 13, 2023
2 parents 3007f57 + c2474c5 commit c858845
Show file tree
Hide file tree
Showing 55 changed files with 3,717 additions and 830 deletions.
32 changes: 32 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Include any files or directories that you don't want to be copied to your
# container here (e.g., local build artifacts, temporary files, etc.).
#
# For more help, visit the .dockerignore file reference guide at
# https://docs.docker.com/engine/reference/builder/#dockerignore-file

**/.DS_Store
**/.classpath
**/.dockerignore
**/.env
**/.git
**/.gitignore
**/.project
**/.settings
**/.toolstarget
**/.vs
**/.vscode
**/*.*proj.user
**/*.dbmdl
**/*.jfm
**/charts
**/docker-compose*
**/compose*
**/Dockerfile*
**/node_modules
**/npm-debug.log
**/secrets.dev.yaml
**/values.dev.yaml
/bin
/target
LICENSE
README.md
7 changes: 3 additions & 4 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
TOKEN=
HOST=
MODE=
EDITOR=
TELOXIDE_TOKEN=
GITHUB_TOKEN=
WEBHOOK_URL=
34 changes: 16 additions & 18 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,22 @@
name: Test CI

on: [push, pull_request]
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v2
with:
submodules: false
persist-credentials: false
env:
CARGO_TERM_COLOR: always

- name: Set up Deno
uses: denoland/setup-deno@v1
with:
deno-version: vx.x.x
jobs:
build:

- name: Format
run: deno fmt
runs-on: ubuntu-latest

- name: Lint
run: deno lint
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
# - name: Run tests
# run: cargo test --verbose
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.env
.idea
.DS_Store
target/
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"rust-analyzer.linkedProjects": [
"./Cargo.toml"
]
}
Loading

0 comments on commit c858845

Please sign in to comment.