Skip to content

Commit

Permalink
Try disabling cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake-Shadle committed Jan 18, 2024
1 parent 3ce6c38 commit 194d4de
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,20 +65,20 @@ jobs:
matrix:
os:
- windows-latest
- macos-latest
- ubuntu-latest
# - macos-latest
# - ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Setup dependencies (macos)
if: startsWith(matrix.os, 'macos')
run:
brew install tree openssl gnu-sed
- name: "cargo check default features"
if: startsWith(matrix.os, 'windows')
run: cargo check --all --bins --examples
# - name: Setup dependencies (macos)
# if: startsWith(matrix.os, 'macos')
# run:
# brew install tree openssl gnu-sed
# - name: "cargo check default features"
# if: startsWith(matrix.os, 'windows')
# run: cargo check --all --bins --examples
- run: |
# it should never be a failure not to get the caches, as they can be regenerated.
git lfs fetch && git lfs checkout || true
Expand Down
4 changes: 4 additions & 0 deletions gix-sec/src/identity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ mod impl_ {
}

pub fn is_path_owned_by_current_user(path: &Path) -> io::Result<bool> {
dbg!(is_path_owned_by_current_user_real(path))
}

fn is_path_owned_by_current_user_real(path: &Path) -> io::Result<bool> {
use windows_sys::Win32::{
Foundation::{GetLastError, LocalFree, ERROR_INSUFFICIENT_BUFFER, ERROR_SUCCESS},
Security::{
Expand Down

0 comments on commit 194d4de

Please sign in to comment.