Merge branch 'main' of github.com:TaKO8Ki/gobang

pull/8/head
Takayuki Maeda 3 years ago
commit 2cdf867d50

@ -0,0 +1,28 @@
name: Release
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]'
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cargo check
uses: actions-rs/cargo@v1
with:
command: check
release:
name: Cargo publish
runs-on: ubuntu-latest
needs: check
steps:
- uses: actions/checkout@v1
- run: cargo login ${CRATES_IO_TOKEN}
env:
CRATES_IO_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
- run: cargo publish

2
Cargo.lock generated

@ -466,7 +466,7 @@ dependencies = [
[[package]]
name = "gobang"
version = "0.1.0"
version = "0.1.0-alpha.0"
dependencies = [
"anyhow",
"chrono",

@ -1,6 +1,6 @@
[package]
name = "gobang"
version = "0.1.0"
version = "0.1.0-alpha.0"
authors = ["Takayuki Maeda <takoyaki0316@gmail.com>"]
edition = "2018"

@ -64,6 +64,7 @@ pub async fn handle_app(key: Key, app: &mut App) -> anyhow::Result<()> {
},
Key::Enter => match app.focus_type {
FocusType::Connections => {
app.selected_database.select(Some(0));
create_connection::handler(key, app).await?;
database_list::handler(key, app).await?;
}

@ -1,5 +1,4 @@
use serde::Deserialize;
use std::fs::File;
use std::io::{BufReader, Read};

Loading…
Cancel
Save