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

teller ng #270

Merged
merged 2 commits into from
May 12, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 2 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[alias]
xtask = "run --package xtask --"
11 changes: 0 additions & 11 deletions .github/dependabot.yml

This file was deleted.

19 changes: 0 additions & 19 deletions .github/pull_request_template.md

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,28 +1,35 @@
---
name: Bug Report
about: Report a bug encountered
about: Report a bug encountered
labels: bug
---

## Expected Behavior

<!--- Tell us what should happen -->

## Current Behavior

<!-- Tell us what happens instead of the expected behavior -->

## Possible Solution

<!-- Not obligatory, but suggest a fix/reason for the bug -->

## Steps to Reproduce

<!--- Steps to reproduce this bug. Include the command line with flags-->

1.
2.
3.
4.

## Context

<!-- Providing context helps us come up with a solution that is most useful in the real world -->

## Specifications
- Version: `$ teller version`
- Platform:

- Version: `$ teller version`
- Platform:
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,13 @@ labels: "enhancement"
## Feature Request

**Is your feature request related to a problem? Please describe.**

<!-- A clear and concise description of what the problem is. Ex. I have an issue when [...] -->

**Describe the solution you'd like**

<!-- A clear and concise description of what you want to happen. -->

**Describe alternatives you've considered**

<!-- A clear and concise description of any alternative solutions or features you've considered. -->
5 changes: 5 additions & 0 deletions .github/workflows/ISSUE_TEMPLATE/general.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
contact_links:

- name: Questions, unconfirmed bugs and ideas
url: https://github.com/tellerops/teller/discussions/new
about: Please post questions, unconfirmed bugs and ideas in discussions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ labels: "new-provider"
## New Provider Request

## Details
- Name:

- Name:
- URL:
- Modes: (read/write/read+write)
- GitHub projects:
- API Documentation:
- GitHub projects:
- API Documentation:
106 changes: 106 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
name: Build
on:
pull_request:
push:
branches:
- master
tags-ignore:
- "v[0-9]+.[0-9]+.[0-9]+"
# you can enable a schedule to build
# schedule:
# - cron: '00 01 * * *'
jobs:
test:
name: Test Suite
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
rust: [stable]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout sources
uses: actions/checkout@v4

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true

- uses: Swatinem/rust-cache@v2

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

coverage:
name: Coverage
strategy:
matrix:
os: [ubuntu-latest]
rust: [stable]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout sources
uses: actions/checkout@v4

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
components: llvm-tools-preview

- uses: Swatinem/rust-cache@v2

- name: Download grcov
run: |
mkdir -p "${HOME}/.local/bin"
curl -sL https://github.com/mozilla/grcov/releases/download/v0.8.10/grcov-x86_64-unknown-linux-gnu.tar.bz2 | tar jxf - -C "${HOME}/.local/bin"
echo "$HOME/.local/bin" >> $GITHUB_PATH

- name: Run xtask coverage
uses: actions-rs/cargo@v1
with:
command: xtask
args: coverage

- name: Upload to codecov.io
uses: codecov/codecov-action@v3
with:
files: coverage/*.lcov

lints:
name: Lints
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
with:
submodules: true

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

- uses: Swatinem/rust-cache@v2

- 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: --all-features -- -D warnings -W clippy::pedantic -W clippy::nursery -W rust-2018-idioms
41 changes: 0 additions & 41 deletions .github/workflows/ci.yml

This file was deleted.

26 changes: 0 additions & 26 deletions .github/workflows/release.yaml

This file was deleted.

Loading
Loading