Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update actions used by build pipeline #1129

Merged
merged 1 commit into from
Oct 21, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ jobs:
name: Code Style
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
components: rustfmt, clippy

- uses: Swatinem/rust-cache@v1
- uses: Swatinem/rust-cache@v2

- name: cargo fmt sdk
run: cargo fmt --all -- --check
Expand All @@ -41,7 +41,7 @@ jobs:
name: SDK Tests
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
Expand All @@ -50,7 +50,7 @@ jobs:
components: rustfmt
target: wasm32-unknown-unknown

- uses: Swatinem/rust-cache@v1
- uses: Swatinem/rust-cache@v2

- name: fmt
run: |
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
name: Test Nightly
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
Expand All @@ -96,7 +96,7 @@ jobs:
name: Build Nightly
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
Expand All @@ -111,15 +111,15 @@ jobs:
env:
RUSTFLAGS: -Dwarnings -Aunreachable-code -Aunused-assignments -Adead-code -Aclippy::new-without-default -Aclippy::unnecessary_to_owned
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
components: rustfmt, clippy

- uses: Swatinem/rust-cache@v1
- uses: Swatinem/rust-cache@v2

- name: services check
run: cargo check --manifest-path services/Cargo.toml --all
Expand All @@ -141,15 +141,15 @@ jobs:
name: Integration Tests
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
components: rustfmt

- uses: Swatinem/rust-cache@v1
- uses: Swatinem/rust-cache@v2

- name: emulator integration tests
run: |
Expand All @@ -165,15 +165,15 @@ jobs:
name: E2E Tests
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
components: rustfmt

- uses: Swatinem/rust-cache@v1
- uses: Swatinem/rust-cache@v2

- name: e2e tests build
run: |
Expand All @@ -193,7 +193,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: git clone
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: azure-sdk-for-rust
- name: install rust
Expand All @@ -210,12 +210,12 @@ jobs:
- name: unit tests
run: cargo test --lib --manifest-path azure-sdk-for-rust/services/autorust/Cargo.toml
- name: git clone Azure/azure-rest-api-specs
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: Azure/azure-rest-api-specs
path: azure-rest-api-specs
- name: git clone OAI/OpenAPI-Specification
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: OAI/OpenAPI-Specification
path: OpenAPI-Specification
Expand Down