Skip to content

Commit

Permalink
Merge pull request #42 from blockfrost/rework
Browse files Browse the repository at this point in the history
Upgrade & rework
  • Loading branch information
vladimirvolek authored Dec 17, 2023
2 parents ddec2b3 + e57f49f commit 8601a37
Show file tree
Hide file tree
Showing 51 changed files with 3,451 additions and 3,816 deletions.
82 changes: 82 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
on: [push]
name: Continuous Integration

jobs:
# Check
check:
name: Check
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true

- name: Run cargo check
uses: actions-rs/cargo@v1
with:
command: check

# Unit tests
test:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true

- name: Run cargo test
uses: actions-rs/cargo@v1
with:
command: test

# Lints and Clippy
lints:
name: Lints
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt, clippy

- name: Run cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check

- name: Run cargo clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings

# Nix build
nix-build:
name: Nix Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v13
with:
nix_path: nixpkgs=channel:nixos-unstable
- run: nix-build
13 changes: 0 additions & 13 deletions .github/workflows/nix.yaml

This file was deleted.

20 changes: 19 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,36 @@
{
"cSpell.words": [
"ADAUSD",
"Adress",
"Bech",
"blockfrost",
"CARDANO",
"cbor",
"Clippy",
"decentralisation",
"delegators",
"deregistration",
"IFPS",
"ipfs",
"Lovelaces",
"mirs",
"naersk",
"nixpkgs",
"Nutlink",
"openapi",
"preprodnet",
"previewnet",
"println",
"redemeers",
"reqwest",
"retriving",
"rustfmt",
"serialised",
"stakenuts",
"thiserror",
"timelock",
"UTXO",
"utxos"
"utxos",
"xpub"
]
}
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,30 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

## 1.0.0 - 2023-xx-xx

### Changed

- Per endpoint pagination
- Github Continuous integration
- Cargo Clippy + rustfmt
- Removed macros
- Tests
- Added tx evaluate endpoint
- Fetch all methods
- Cleanup
- Settings refactored
- Updated data and schemas
- Added missing endpoints
- More examples
- Unit tests
- linting
- Added missing endpoints `accounts_addresses_total`, `addresses_extended`, `addresses_utxos_asset`, `network_eras`, `mempool`, `mempool_hash`, `mempool_addresses_address`, `scripts_hash_json`, `scripts_hash_cbor`, `scripts_datum_hash`, `scripts_datum_hash_cbor`, `utils_tx_evaluate`, `utils_tx_evaluate_utxos`

### Removed

- macros

## 0.2.1 - 2023-05-02

### Changed
Expand Down
Loading

0 comments on commit 8601a37

Please sign in to comment.