Compare commits

...

12 Commits
v0.1.0 ... main

Author SHA1 Message Date
f380ce2a76 Update README.md
All checks were successful
Rust-build / build (push) Successful in 43s
2023-07-17 17:10:23 +02:00
51e8b54e14 Update .gitea/workflows/build.yml
All checks were successful
Rust-build / build (push) Successful in 41s
2023-07-17 17:10:00 +02:00
Justine Pelletreau
482759c940 qjzdiqjzodiqjz
Some checks failed
Rust-build / build (push) Failing after 51s
2023-07-17 17:04:59 +02:00
6d39a7ec5b Update .gitea/workflows/build.yml
Some checks failed
Rust-build / build (push) Failing after 50s
2023-07-17 17:03:29 +02:00
c3d8c780f3 Update .gitea/workflows/build.yml
Some checks failed
Rust-build / build (push) Failing after 51s
2023-07-17 17:00:16 +02:00
265e7fc434 Update .gitea/workflows/build.yml
Some checks failed
Rust-build / build (push) Failing after 51s
2023-07-17 16:56:40 +02:00
17eb29020d Update .gitea/workflows/build.yml
Some checks failed
Rust-build / build (push) Failing after 1m2s
2023-07-17 16:53:11 +02:00
a6993465af Update .gitea/workflows/build.yml
Some checks failed
Rust-build / build (push) Failing after 54s
2023-07-17 16:40:36 +02:00
Justine Pelletreau
d81399fb53 Moved actions 2023-07-17 16:39:11 +02:00
Justine Pelletreau
02c7379972 Added build-publish
Some checks reported warnings
Rust-build / build (push) Has been cancelled
2023-07-17 16:38:19 +02:00
Justine Pelletreau
7a6598bf8f Added cargo config
All checks were successful
Rust-build / build (push) Successful in 1m16s
2023-07-17 12:42:51 +02:00
Justine Pelletreau
eeede48897 Removed release workflow
All checks were successful
Rust-build / build (push) Successful in 1m1s
2023-07-17 12:04:48 +02:00
4 changed files with 13 additions and 59 deletions

8
.cargo/config.toml Normal file
View File

@ -0,0 +1,8 @@
[registry]
default = "gitea"
[registries.gitea]
index = "https://gitea.squi.fr/Rust/_cargo-index.git"
[net]
git-fetch-with-cli = true

View File

@ -13,7 +13,7 @@ jobs:
steps:
- name: Check-out
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Install stable toolchain
uses: https://github.com/actions-rs/toolchain@v1
@ -27,21 +27,6 @@ jobs:
with:
command: check
- name: Install nightly toolchain with clippy available
uses: https://github.com/actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
components: clippy
- name: Run cargo clippy
uses: https://github.com/actions-rs/cargo@v1
continue-on-error: true # WARNING: only for this example, remove it!
with:
command: clippy
args: -- -D warnings
- name: Test
run: cargo test

View File

@ -1,42 +0,0 @@
name: Rust-release
on:
push:
tags:
- '*'
jobs:
build-release:
runs-on: ubuntu-latest
steps:
- name: Check-out
uses: actions/checkout@v3
- name: Install stable toolchain
uses: https://github.com/actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Run cargo check
uses: https://github.com/actions-rs/cargo@v1
with:
command: check
- name: Test
run: cargo test
- name: Build
run: cargo build --release
- name: Release
id: use-go-action
uses: https://gitea.com/actions/release-action@main
with:
files: ./target/release/hangman
title: auto-release
body: This is an automated release.
pre-release: true
api-key: '${{secrets.RELEASE_TOKEN}}'

View File

@ -4,7 +4,10 @@ A hangman. I was bored and needed to get into Rust again.
# How ?
just cargo run it.
Install it:
```
cargo install --git https://gitea.squi.fr/Rust/hangman.git
```
```
IM A BORED SYSADMIN