From 130bf7c3b068c2bcefb4481a3dabbaa90d44df9f Mon Sep 17 00:00:00 2001 From: kitsuyui Date: Sat, 20 Jan 2024 16:57:36 +0900 Subject: [PATCH 1/2] Fix: CI send coverage condition - pull-request events are not triggered when a PR is merged - push events are not triggered when a PR created from a fork repository - So we need both to run tests on every PR and after merging --- .github/workflows/test.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 915d09d..dd6b805 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,7 +1,12 @@ name: tests on: - - pull_request - + # pull-request events are not triggered when a PR is merged + # push events are not triggered when a PR created from a fork repository + # So we need both to run tests on every PR and after merging + pull_request: + push: + branches: + - main jobs: check: name: Check From 6472591720d4bf059a19fed5b9bbcf081de464eb Mon Sep 17 00:00:00 2001 From: kitsuyui Date: Sat, 20 Jan 2024 16:57:44 +0900 Subject: [PATCH 2/2] Update gitignore files --- .gitignore | 97 +++++++++++++++++++++++++++++++++++++++++++++++++++ .gitignore.in | 4 +++ 2 files changed, 101 insertions(+) diff --git a/.gitignore b/.gitignore index 59169b4..d7731ef 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,100 @@ # Generated by gitignore.in # Edit .gitignore.in instead of this file # Run `gitignore.in` to build .gitignore +# ----------------------------------------------------------------------------- +# gibo dump Linux +### Generated by gibo (https://github.com/simonwhitaker/gibo) +### https://raw.github.com/github/gitignore/4488915eec0b3a45b5c63ead28f286819c0917de/Global/Linux.gitignore + +*~ + +# temporary files which can be created if a process still has a handle open of a deleted file +.fuse_hidden* + +# KDE directory preferences +.directory + +# Linux trash folder which might appear on any partition or disk +.Trash-* + +# .nfs files are created when an open file is removed but is still being accessed +.nfs* +# ----------------------------------------------------------------------------- +# gibo dump macOS +### Generated by gibo (https://github.com/simonwhitaker/gibo) +### https://raw.github.com/github/gitignore/4488915eec0b3a45b5c63ead28f286819c0917de/Global/macOS.gitignore + +# General +.DS_Store +.AppleDouble +.LSOverride + +# Icon must end with two \r +Icon + +# Thumbnails +._* + +# Files that might appear in the root of a volume +.DocumentRevisions-V100 +.fseventsd +.Spotlight-V100 +.TemporaryItems +.Trashes +.VolumeIcon.icns +.com.apple.timemachine.donotpresent + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk +# ----------------------------------------------------------------------------- +# gibo dump Windows +### Generated by gibo (https://github.com/simonwhitaker/gibo) +### https://raw.github.com/github/gitignore/4488915eec0b3a45b5c63ead28f286819c0917de/Global/Windows.gitignore + +# Windows thumbnail cache files +Thumbs.db +Thumbs.db:encryptable +ehthumbs.db +ehthumbs_vista.db + +# Dump file +*.stackdump + +# Folder config file +[Dd]esktop.ini + +# Recycle Bin used on file shares +$RECYCLE.BIN/ + +# Windows Installer files +*.cab +*.msi +*.msix +*.msm +*.msp + +# Windows shortcuts +*.lnk +# ----------------------------------------------------------------------------- +# gibo dump Rust +### Generated by gibo (https://github.com/simonwhitaker/gibo) +### https://raw.github.com/github/gitignore/4488915eec0b3a45b5c63ead28f286819c0917de/Rust.gitignore + +# Generated by Cargo +# will have compiled files and executables +debug/ +target/ + +# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries +# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html +Cargo.lock + +# These are backup files generated by rustfmt +**/*.rs.bk + +# MSVC Windows builds of rustc generate these, which store debugging information +*.pdb diff --git a/.gitignore.in b/.gitignore.in index e69de29..8bdaecd 100644 --- a/.gitignore.in +++ b/.gitignore.in @@ -0,0 +1,4 @@ +gibo dump Linux +gibo dump macOS +gibo dump Windows +gibo dump Rust