mirror of
https://github.com/ddworken/hishtory.git
synced 2025-01-12 17:28:14 +01:00
Fix tmpfs mount command for linux
This commit is contained in:
parent
46b2d5a26a
commit
4c2e49885f
12
.github/workflows/go-test.yml
vendored
12
.github/workflows/go-test.yml
vendored
@ -37,7 +37,7 @@ jobs:
|
||||
|
||||
# Set up a tmpfs for ~/.hishtory/ to help tests run faster
|
||||
mkdir ~/.hishtory/
|
||||
sudo mount -F tmpfs -o size=500M swap ~/.hishtory/
|
||||
sudo mount -t tmpfs -o size=500M hishtory-tmpfs ~/.hishtory/
|
||||
- name: MacOS Setup
|
||||
if: ${{ !startsWith(github.event.head_commit.message, 'Release') && matrix.os == 'macos-latest'}}
|
||||
run: |
|
||||
@ -61,8 +61,8 @@ jobs:
|
||||
|
||||
# Run the tests
|
||||
make test
|
||||
- name: Setup tmate session
|
||||
if: ${{ failure() }}
|
||||
uses: mxschmitt/action-tmate@v3
|
||||
with:
|
||||
limit-access-to-actor: true
|
||||
# - name: Setup tmate session
|
||||
# if: ${{ failure() }}
|
||||
# uses: mxschmitt/action-tmate@v3
|
||||
# with:
|
||||
# limit-access-to-actor: true
|
Loading…
Reference in New Issue
Block a user