From d1f09d446312db31c4715969dec9199e80840b0c Mon Sep 17 00:00:00 2001 From: hodasemi Date: Wed, 16 Aug 2023 09:12:26 +0200 Subject: [PATCH] Add actions file --- .gitea/workflows/pull_request.yaml | 16 ++++++++++++++++ src/additional_rfactor.rs | 2 ++ 2 files changed, 18 insertions(+) create mode 100644 .gitea/workflows/pull_request.yaml diff --git a/.gitea/workflows/pull_request.yaml b/.gitea/workflows/pull_request.yaml new file mode 100644 index 0000000..613e304 --- /dev/null +++ b/.gitea/workflows/pull_request.yaml @@ -0,0 +1,16 @@ +name: Gavania Merge Build +run_name: Test successful gavania build on merge request + +on: + pull_request: + types: [opened, reopened, edited, review_requested, synchronize] + +jobs: + build: + steps: + - uses: https://github.com/actions/checkout@v3 + + - uses: https://github.com/dtolnay/rust-toolchain@stable + + - name: Build + run: cargo build diff --git a/src/additional_rfactor.rs b/src/additional_rfactor.rs index 083ff14..bce4ef1 100644 --- a/src/additional_rfactor.rs +++ b/src/additional_rfactor.rs @@ -1,3 +1,5 @@ +#![allow(non_camel_case_types)] + use std::mem; use crate::rfactor_structs::*;