From 26b38af31df3d4d8237f668b53b4e037c7b5c64b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Filip=20=C5=A0?= <filip.stamcar@hotmail.com>
Date: Sun, 31 Jul 2022 16:33:35 +0200
Subject: [PATCH] Fix GitHub Actions

---
 .github/workflows/native.yaml | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/native.yaml b/.github/workflows/native.yaml
index a37023fe..303b1930 100644
--- a/.github/workflows/native.yaml
+++ b/.github/workflows/native.yaml
@@ -12,7 +12,6 @@ on:
 
 defaults:
   run:
-    working-directory: native
     shell: bash
 
 jobs:
@@ -20,6 +19,10 @@ jobs:
     name: Clippy (${{ matrix.os }})
     runs-on: ${{ matrix.os }}
 
+    defaults:
+      run:
+        working-directory: native
+
     strategy:
       fail-fast: false
       matrix:
@@ -52,6 +55,10 @@ jobs:
     name: Rustfmt
     runs-on: ubuntu-latest
 
+    defaults:
+      run:
+        working-directory: native
+
     steps:
       - name: Checkout repository
         uses: actions/checkout@v3
@@ -76,6 +83,10 @@ jobs:
     name: Build (${{ matrix.target }})
     runs-on: ${{ matrix.os }}
 
+    defaults:
+      run:
+        working-directory: native
+
     strategy:
       fail-fast: false
       matrix: