Skip to content

Commit

Permalink
Version 0.12.0 (#251)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bwc9876 authored Jan 2, 2024
2 parents 5d7d116 + c0ab3d7 commit 26ddf08
Show file tree
Hide file tree
Showing 103 changed files with 4,172 additions and 3,846 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ blank_issues_enabled: true
contact_links:
- name: "Need Help With Using The Manager?"
url: "https://discord.com/invite/wusTQYbYTc"
about: "Join our Discord"
about: "Join our Discord"
4 changes: 4 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# [Title Here]

<!-- Which packages this PR affects -->

## Package(s)

- [ ] GUI
Expand All @@ -10,13 +11,16 @@

<!-- Any issues this PR resolves (use resolves #{ISSUE NUMBER}) -->
<!-- If none, just delete the section -->

## Resolves

- resolves #

<!-- Any important notes (breaking API changes, etc) -->
<!-- If none, just delete the section -->

## Important Notes

<!-- Long description of what you changed -->

## Description
7 changes: 2 additions & 5 deletions .github/workflows/ci_js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ jobs:
working-directory: ./owmods_gui/frontend
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.head_ref }}

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20

Expand Down Expand Up @@ -63,6 +63,3 @@ jobs:

- name: Check Formatting
run: pnpm prettier-check

- name: Run Tests
run: pnpm test
16 changes: 4 additions & 12 deletions .github/workflows/ci_rs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Build Dependencies
run: |
Expand All @@ -44,10 +44,7 @@ jobs:
components: clippy, rustfmt

- name: Check Formatting
uses: actions-rs/cargo@v1
with:
command: fmt
args: --check
run: cargo fmt --check

- name: Setup Rust Cache
uses: Swatinem/rust-cache@v2
Expand All @@ -58,12 +55,7 @@ jobs:
run: mkdir owmods_gui/dist

- name: Check Clippy
uses: actions-rs/cargo@v1
with:
command: lint
run: cargo lint

- name: Run Tests (Core)
uses: actions-rs/cargo@v1
with:
command: test
args: -p owmods_core
run: cargo test -p owmods_core
8 changes: 4 additions & 4 deletions .github/workflows/nightly_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-20.04'
Expand All @@ -39,7 +39,7 @@ jobs:
shared-key: v1-${{ runner.os }}-rust-cache-${{ hashFiles('Cargo.lock') }}

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20

Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
# Seperate artifacts for each platform

- name: Upload GUI (Linux)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: matrix.platform == 'ubuntu-20.04'
with:
name: GUI-Nightly-Linux
Expand All @@ -89,7 +89,7 @@ jobs:
target/release/bundle/**/*.AppImage
- name: Upload GUI (Windows)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: matrix.platform == 'windows-latest'
with:
name: GUI-Nightly-Windows
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/post_release_cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Rust Toolchain
uses: dtolnay/rust-toolchain@stable
Expand All @@ -25,12 +25,9 @@ jobs:
shared-key: ${{ runner.os }}-rust-cache-${{ hashFiles('Cargo.lock') }}

- name: Publish To Crates.io
uses: actions-rs/cargo@v1
run: cargo publish -p owmods_cli
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
with:
command: publish
args: -p owmods_cli

- name: Create PKGBUILD
run: cargo xtask cli_pkg_build
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/post_release_core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Rust Toolchain
uses: dtolnay/rust-toolchain@stable
Expand All @@ -24,9 +24,6 @@ jobs:
shared-key: ${{ runner.os }}-rust-cache-${{ hashFiles('Cargo.lock') }}

- name: Publish Core
uses: actions-rs/cargo@v1
run: cargo publish -p owmods_core
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
with:
command: publish
args: -p owmods_core
4 changes: 2 additions & 2 deletions .github/workflows/post_release_gui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
name: Publish
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Rust Toolchain
uses: dtolnay/rust-toolchain@stable
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Rust Toolchain
uses: dtolnay/rust-toolchain@stable
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Rust Toolchain
uses: dtolnay/rust-toolchain@stable
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release_gui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-20.04'
Expand All @@ -34,7 +34,7 @@ jobs:
shared-key: ${{ runner.os }}-rust-cache-${{ hashFiles('Cargo.lock') }}

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Build Output
target
dist/
result
scripts/
owmods.tar.zst
owmods_gui/frontend/stats.html
Expand Down
Loading

0 comments on commit 26ddf08

Please sign in to comment.