From 6b2bb60844ec26a108a58941b5d7e418b44e3898 Mon Sep 17 00:00:00 2001 From: Jonathan Morley Date: Thu, 29 Jun 2023 16:07:34 -0400 Subject: [PATCH] no slashes --- .github/workflows/release.yml | 4 ++++ oktaws/src/aws/profile.rs | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index aa519ed5..3a0456df 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -105,6 +105,10 @@ jobs: - uses: actions/checkout@v3 - name: Install Rust run: rustup update 1.67.1 --no-self-update && rustup default 1.67.1 + - name: Rust Cache + uses: Swatinem/rust-cache@v2 + with: + cache-all-crates: true - name: Install cargo-dist run: ${{ matrix.install-dist }} - name: Run cargo-dist diff --git a/oktaws/src/aws/profile.rs b/oktaws/src/aws/profile.rs index cf64d0fe..40779b4e 100644 --- a/oktaws/src/aws/profile.rs +++ b/oktaws/src/aws/profile.rs @@ -259,7 +259,7 @@ foo=bar"# Location: {}:61:24", - PathBuf::from("oktaws/src/aws/profile.rs").display() + PathBuf::from_iter(["oktaws", "src", "aws", "profile.rs"]).display() ), ); @@ -293,7 +293,7 @@ Caused by: Location: {}:34:24", tempfile.path().display(), - PathBuf::from("oktaws/src/aws/profile.rs").display() + PathBuf::from_iter(["oktaws", "src", "aws", "profile.rs"]).display() ) ); @@ -331,7 +331,7 @@ Caused by: Location: {}:34:24", tempfile.path().display(), - PathBuf::from("oktaws/src/aws/profile.rs").display() + PathBuf::from_iter(["oktaws", "src", "aws", "profile.rs"]).display() ) );