Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic verification for responses #13

Merged
merged 21 commits into from
Jul 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
0312aae
Create workspace
sztomi Jul 1, 2023
e845a08
types: impl Default for ExceptionBreakMode
sztomi Jul 1, 2023
d1ba1da
responses: derive Default for ExceptionInfoResponse
sztomi Jul 1, 2023
e79016c
Basic verification for responses
sztomi Jul 1, 2023
8398bd9
responses: skip message body if None
sztomi Jul 4, 2023
c77daa0
responses: skip mime_type in SourceResponse if None
sztomi Jul 4, 2023
45de438
responses: fix DataBreakpointInfoResponse serialization
sztomi Jul 4, 2023
c986b34
responses: fix SetVariableResponse serialization
sztomi Jul 5, 2023
8763eba
responses: fix SetExpressionResponse serialization
sztomi Jul 5, 2023
f545c67
responses: fix ReadMemoryResponse serialization
sztomi Jul 5, 2023
4a88565
responses: fix InitializeResponse serialization
sztomi Jul 5, 2023
8d41124
responses: fix ModulesResponse serialization
sztomi Jul 6, 2023
5c61fbe
responses: fix EvaluateResponse serialization
sztomi Jul 6, 2023
b1c50f7
responses: fix DisassembleResponse typo
sztomi Jul 6, 2023
0041bbc
requests: fix DisassembleRequest typo
sztomi Jul 6, 2023
ed884b8
responses: fix ExceptionInfoResponse serialization
sztomi Jul 6, 2023
9e385b7
responses: fix SetExceptionBreakpointsResponse serialization
sztomi Jul 6, 2023
4bdf890
responses: fix StackTraceResponse serialization
sztomi Jul 6, 2023
54ab15f
responses: fix WriteMemoryResponse serialization
sztomi Jul 6, 2023
793bf14
Add README for integration tests
sztomi Jul 10, 2023
7a4f6b4
Add github action to build/test/publish dap-rs
sztomi Jul 10, 2023
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
48 changes: 48 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Rust

on:
push:
branches: [ "main" ]
tags:
- '*'
pull_request:
branches: [ "main" ]
create:
tags:
- '*'

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Build
run: cargo build --verbose

- name: Run tests
run: cargo test --verbose

publish:
needs: build
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Login to Crates.io
uses: actions-rs/cargo@v1
with:
command: login
args: ${{ secrets.CRATES_IO_TOKEN }}

- name: Publish to Crates.io
uses: actions-rs/cargo@v1
with:
command: publish
Loading