Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit56dd4a9

Browse files
fix: squash history because of broken rebase
Signed-off-by: Oskar Manhart <52569953+oskardotglobal@users.noreply.github.com>
1 parent0fd9a8c commit56dd4a9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+2556
-892
lines changed

‎.envrc.example‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
use nix # --arg isIdea true --arg nixpkgs <nixpkgs>

‎.github/workflows/build.yml‎

Lines changed: 0 additions & 57 deletions
This file was deleted.

‎.github/workflows/ci.yaml‎

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name:Format and lint
2+
3+
on:
4+
push:
5+
branches:[ "rewrite" ]
6+
pull_request:
7+
branches:[ "rewrite" ]
8+
9+
permissions:
10+
contents:write
11+
pull-requests:write
12+
checks:write
13+
14+
jobs:
15+
check:
16+
runs-on:ubuntu-latest
17+
18+
steps:
19+
-uses:actions/checkout@v4
20+
21+
-uses:dtolnay/rust-toolchain@nightly
22+
with:
23+
components:clippy
24+
25+
-uses:auguwu/clippy-action@1.4.0
26+
with:
27+
token:${{ secrets.GITHUB_TOKEN }}

‎.github/workflows/docker.yaml‎

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name:Build container image
2+
3+
on:
4+
push:
5+
branches:[ "rewrite" ]
6+
paths:[ "winapps-image/**" ]
7+
schedule:
8+
# See https://crontab.guru/monthly
9+
-cron:0 0 1 * *
10+
11+
permissions:
12+
packages:write
13+
14+
env:
15+
IMAGE_REGISTRY:ghcr.io
16+
IMAGE_NAME:winapps-org/windows
17+
18+
jobs:
19+
build:
20+
runs-on:ubuntu-latest
21+
22+
steps:
23+
-name:Checkout repository
24+
uses:actions/checkout@v4
25+
26+
-name:Extract metadata (tags, labels) for Docker
27+
id:meta
28+
uses:docker/metadata-action@v4
29+
with:
30+
images:${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}
31+
32+
-name:Build image
33+
id:build
34+
uses:redhat-actions/buildah-build@v2
35+
with:
36+
image:${{ env.IMAGE_NAME }}
37+
tags:${{ steps.meta.outputs.tags }}
38+
labels:${{ steps.meta.outputs.labels }}
39+
context:winapps-image
40+
containerfiles:|
41+
Containerfile
42+
43+
-name:Push image to GHCR
44+
uses:redhat-actions/push-to-registry@v2
45+
with:
46+
image:${{ steps.build.outputs.image }}
47+
tags:${{ steps.build.outputs.tags }}
48+
registry:${{ env.IMAGE_REGISTRY }}
49+
username:${{ github.actor }}
50+
password:${{ secrets.GITHUB_TOKEN }}

‎.github/workflows/rust-clippy.yml‎

Lines changed: 0 additions & 51 deletions
This file was deleted.

‎.github/workflows/rust.yml‎

Lines changed: 0 additions & 22 deletions
This file was deleted.

‎.gitignore‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# Generated files
22
target/
3-
4-
# The library shouldn't decide about the exact versions of
5-
# its dependencies, but let the downstream crate decide.
6-
Cargo.lock
3+
/result
74

85
# We don't want to commit IDE configuration files.
96
.idea/
7+
winapps.iml
108
.vscode/
9+
.direnv
10+
.wakatime-project
11+
.envrc

‎.pre-commit-config.yaml‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
ci:
22
skip:[clippy, cargo-check]
33

4+
default_install_hook_types:[pre-commit, commit-msg]
5+
46
repos:
57
-repo:https://github.com/pre-commit/pre-commit-hooks
68
rev:v6.0.0
@@ -14,9 +16,10 @@ repos:
1416
-id:end-of-file-fixer
1517
-id:mixed-line-ending
1618
-id:trailing-whitespace
17-
-repo:https://github.com/winapps-org/pre-commit-rust
18-
rev:v1.1
19+
-repo:https://github.com/winapps-org/pre-commit-hooks
20+
rev:v2.0.1
1921
hooks:
20-
-id:fmt
22+
-id:rustfmt
2123
-id:clippy
2224
-id:cargo-check
25+
-id:signoff

‎.rustfmt.toml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
unstable_features =true
2+
imports_granularity ="Crate"

‎CONTRIBUTING.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Thank you for contributing to winapps! Before you can contribute, we ask some things of you:
44

55
- Please follow our Code of Conduct, the Contributor Covenant. You can find a copy in this repository or underhttps://www.contributor-covenant.org/
6-
- All Contributors have to sign[a CLA](https://gist.github.com/oskardotglobal/35f0a72eb45fcc7087e535561383dbc5) for legal reasons. When opening a PR,@cla-assitant will prompt you and guide you through the process. However, if you contribute on behalf of a legal entity, we ask of you to sign[a different CLA](https://gist.github.com/oskardotglobal/75a8cc056e56a439fa6a1551129ae47f). In that case, please contact us.
6+
- All Contributors have to sign[a CLA](https://gist.github.com/oskardotglobal/35f0a72eb45fcc7087e535561383dbc5) for legal reasons. When opening a PR,@cla-assistant will prompt you and guide you through the process. However, if you contribute on behalf of a legal entity, we ask of you to sign[a different CLA](https://gist.github.com/oskardotglobal/75a8cc056e56a439fa6a1551129ae47f). In that case, please contact us.
77

88
##How to contribute
99

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp