diff --git a/.github/workflows/Release-Windows.yml b/.github/workflows/Release-Windows.yml index 7ca6e9f..925701f 100644 --- a/.github/workflows/Release-Windows.yml +++ b/.github/workflows/Release-Windows.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - target: ["x86_64-pc-windows-gnu"] # Waiting for `aarch64-pc-windows-gnu` to be available. + target: ["x86_64-pc-windows-gnu"] steps: - name: "Checkout" @@ -31,10 +31,10 @@ jobs: - name: "Zip" run: | cp target/${{ matrix.target }}/release/dygma-layer-switcher.exe . - zip windows-${{ github.ref_name }}-${{ matrix.target }}.zip readme.md dygma-layer-switcher.exe assets/icons/icon.ico + zip dls-${{ github.ref_name }}-${{ matrix.target }}.zip dygma-layer-switcher.exe - name: "Release" uses: softprops/action-gh-release@v1 with: files: | - windows-${{ github.ref_name }}-${{ matrix.target }}.zip + dls-${{ github.ref_name }}-${{ matrix.target }}.zip diff --git a/.github/workflows/Validate.yml b/.github/workflows/Validate.yml index 2ae35e1..f8ad9ed 100644 --- a/.github/workflows/Validate.yml +++ b/.github/workflows/Validate.yml @@ -10,8 +10,8 @@ env: APT_PACKAGES: libatk1.0-dev libpango1.0-dev libgtk-3-dev libudev-dev libxdo-dev jobs: - formatting: - name: "Format" + checks: + name: "Checks" runs-on: ubuntu-latest steps: @@ -22,52 +22,13 @@ jobs: uses: dtolnay/rust-toolchain@stable with: toolchain: stable - components: rustfmt - - - name: "Format" - run: cargo fmt -- --check - - clippy: - name: "Clippy" - runs-on: ubuntu-latest - - steps: - - name: "Checkout" - uses: actions/checkout@master - - - name: "Rust" - uses: dtolnay/rust-toolchain@stable - with: - toolchain: stable - components: clippy + components: rustfmt, clippy - name: "Dependencies" run: sudo apt-get install -y ${{ env.APT_PACKAGES }} + - name: "Format" + run: cargo fmt -- --check + - name: "Clippy" run: cargo clippy -- -D warnings - - check: - name: "Check" - runs-on: ubuntu-latest - - strategy: - matrix: - target: ["x86_64-pc-windows-gnu", "x86_64-unknown-linux-gnu"] - - steps: - - name: "Checkout" - uses: actions/checkout@master - - - name: "Rust" - uses: dtolnay/rust-toolchain@stable - with: - toolchain: stable - targets: ${{ matrix.target }} - - - name: "Dependencies" - if: contains(matrix.target, 'linux') - run: sudo apt-get install -y ${{ env.APT_PACKAGES }} - - - name: "Check" - run: cargo check --target ${{ matrix.target }} diff --git a/.run/Debug.run.xml b/.run/Debug.run.xml index 15fd48d..9a1dc0f 100644 --- a/.run/Debug.run.xml +++ b/.run/Debug.run.xml @@ -1,6 +1,6 @@ -