Quellcode durchsuchen

bump rust version in ci

Jonathan Kelley vor 9 Monaten
Ursprung
Commit
cdbc155541
2 geänderte Dateien mit 14 neuen und 16 gelöschten Zeilen
  1. 4 4
      .github/workflows/main.yml
  2. 10 12
      .github/workflows/publish.yml

+ 4 - 4
.github/workflows/main.yml

@@ -198,7 +198,7 @@ jobs:
           - {
               target: x86_64-pc-windows-msvc,
               os: windows-latest,
-              toolchain: "1.75.0",
+              toolchain: "1.76.0",
               cross: false,
               command: "test",
               args: "--all --tests",
@@ -206,7 +206,7 @@ jobs:
           - {
               target: x86_64-apple-darwin,
               os: macos-latest,
-              toolchain: "1.75.0",
+              toolchain: "1.76.0",
               cross: false,
               command: "test",
               args: "--all --tests",
@@ -214,7 +214,7 @@ jobs:
           - {
               target: aarch64-apple-ios,
               os: macos-latest,
-              toolchain: "1.75.0",
+              toolchain: "1.76.0",
               cross: false,
               command: "build",
               args: "--package dioxus-mobile",
@@ -222,7 +222,7 @@ jobs:
           - {
               target: aarch64-linux-android,
               os: ubuntu-latest,
-              toolchain: "1.75.0",
+              toolchain: "1.76.0",
               cross: true,
               command: "build",
               args: "--package dioxus-mobile",

+ 10 - 12
.github/workflows/publish.yml

@@ -72,7 +72,7 @@ jobs:
       - name: Install stable
         uses: dtolnay/rust-toolchain@master
         with:
-          toolchain: "1.75.0"
+          toolchain: "1.76.0"
           targets: ${{ matrix.platform.target }}
 
       - uses: Swatinem/rust-cache@v2
@@ -99,7 +99,6 @@ jobs:
           manifest_path: packages/cli/Cargo.toml
           ref: refs/tags/${{ env.RELEASE_POST }}
 
-
   # todo: these things
   # Run benchmarks, which we'll use to display on the website
   # release-benchmarks:
@@ -146,13 +145,12 @@ jobs:
   #         # todo: actually just publish!
   #         # cargo workspaces publish -y ${{ github.event.inputs.semver }}
 
-      # this will be more useful when we publish the website with updated docs
-      # Build the docs.rs docs and publish them to the website under the right folder
-      # v0.4.x -> docs/0.4
-      # v0.5.x -> docs/0.5 etc
-      # main -> docs/nightly
-      # strip the v from the channel, and the .x from the end, and replace main with nightly
-      # - name: determine docs folder by channel
-      #   id: determine_docs_folder
-      #   run: echo "::set-output name=folder::$(echo ${{ github.event.inputs.channel }} | sed 's/v//g' | sed 's/\.x//g' | sed 's/main/nightly/g')"
-
+  # this will be more useful when we publish the website with updated docs
+  # Build the docs.rs docs and publish them to the website under the right folder
+  # v0.4.x -> docs/0.4
+  # v0.5.x -> docs/0.5 etc
+  # main -> docs/nightly
+  # strip the v from the channel, and the .x from the end, and replace main with nightly
+  # - name: determine docs folder by channel
+  #   id: determine_docs_folder
+  #   run: echo "::set-output name=folder::$(echo ${{ github.event.inputs.channel }} | sed 's/v//g' | sed 's/\.x//g' | sed 's/main/nightly/g')"