Skip to content

Commit

Permalink
Merge pull request #187 from boozook/update-deps
Browse files Browse the repository at this point in the history
Update deps, fix breaking changes of deps, bump versions

* Update deps, fix breaking changes of deps, bump versions, fix rust toolchain channel.
* Now feature `sdk_2_1` (`gfx/sdk_2_1` & `sprite/sdk_2_1`) is enabled by default.
* CI:
  - disable clechasseur/rs-fmt-check action
  - reset manifest & lock that changed by tests (cmd: `new` & `init`)
  - set minimal SDK version for tests on CI (older versions are works, it just to do not mess extra with features like `sdk_ver`).

Closes #186.
  • Loading branch information
boozook authored Nov 21, 2023
2 parents 014b68f + 22e0d0f commit d23917c
Show file tree
Hide file tree
Showing 27 changed files with 527 additions and 546 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
sdk:
# - beta
- latest
- 2.0.1
- 2.1.0

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -225,7 +225,7 @@ jobs:
sdk:
# - beta
- latest
- 2.0.1
- 2.1.0

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -323,7 +323,7 @@ jobs:
sdk:
# - beta
- latest
- 2.0.1
- 2.1.0

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -408,12 +408,12 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Check
if: ${{ github.event_name == 'pull_request' || github.event_name == 'pull_request_target' }}
uses: clechasseur/rs-fmt-check@v2
with:
toolchain: nightly
# - name: Check
# if: ${{ github.event_name == 'pull_request' || github.event_name == 'pull_request_target' }}
# uses: clechasseur/rs-fmt-check@v2.0.1
# # with:
# # toolchain: nightly

- name: Check
if: ${{ github.event_name != 'pull_request' && github.event_name != 'pull_request_target' }}
# if: ${{ github.event_name != 'pull_request' && github.event_name != 'pull_request_target' }}
run: cargo fmt -- --check
Loading

0 comments on commit d23917c

Please sign in to comment.