From 94fbf554131f149a9f5b8f37fb97dffc2c589f76 Mon Sep 17 00:00:00 2001 From: victor <52110451+cs50victor@users.noreply.github.com> Date: Fri, 16 Feb 2024 13:02:12 -0500 Subject: [PATCH] refactor: use ubuntu for testing (#20) * refactor: use ubuntu for testing * fix: docs import comment --- .github/workflows/ci-rs.yml | 4 ++-- crates/bevy_remote_asset/src/web_asset_plugin.rs | 4 ++-- new_media/Cargo.toml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci-rs.yml b/.github/workflows/ci-rs.yml index 61a0b03..25186a4 100644 --- a/.github/workflows/ci-rs.yml +++ b/.github/workflows/ci-rs.yml @@ -24,7 +24,7 @@ concurrency: jobs: ci-rs: - runs-on: [ macos-latest, ubuntu-latest] + runs-on: ubuntu-latest strategy: fail-fast: false matrix: @@ -49,7 +49,7 @@ jobs: run: cargo build --release --features docker - name: Test - run: cargo test --release + run: cargo test --release --features docker - name: Lint run: cargo fmt --all -- --check diff --git a/crates/bevy_remote_asset/src/web_asset_plugin.rs b/crates/bevy_remote_asset/src/web_asset_plugin.rs index 2fc9334..cf2f885 100644 --- a/crates/bevy_remote_asset/src/web_asset_plugin.rs +++ b/crates/bevy_remote_asset/src/web_asset_plugin.rs @@ -3,7 +3,7 @@ use bevy::prelude::*; use crate::web_asset_source::*; use bevy::asset::io::AssetSource; -/// Add this plugin to bevy to support loading http and https urls. +/// Add this plugin to bevy to support loading https urls. /// /// Needs to be added before Bevy's `DefaultPlugins`. /// @@ -11,7 +11,7 @@ use bevy::asset::io::AssetSource; /// /// ```no_run /// # use bevy::prelude::*; -/// # use bevy_web_asset::WebAssetPlugin; +/// # use bevy_remote_asset::WebAssetPlugin; /// /// let mut app = App::new(); /// diff --git a/new_media/Cargo.toml b/new_media/Cargo.toml index 2657e21..e7226b1 100644 --- a/new_media/Cargo.toml +++ b/new_media/Cargo.toml @@ -2,7 +2,7 @@ name = "new_media" version = "0.0.1" edition = "2021" -rust.workspace = true + default-run = "new_media" [dependencies]