Rename folder .github -> .gitea + rewrite
Some checks failed
Rust / build (push) Failing after 46s

This commit is contained in:
tommy 2024-08-26 08:50:24 -04:00
parent dd2d5a58b1
commit 485190f01d
Signed by: tommy
GPG Key ID: E12CE5A632617F4E
2 changed files with 26 additions and 22 deletions

26
.gitea/workflows/rust.yml Normal file
View File

@ -0,0 +1,26 @@
name: Rust
on:
push:
branches: ["master"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Build release
run: cargo build --release
- name: Archive build
uses: actions/upload-artifact@v4
with:
name: alt_enter_fix
path: target/release/*

View File

@ -1,22 +0,0 @@
name: Rust
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose