Skip to content

Open Source alternative to Algolia + Pinecone and an Easier-to-Use alternative to ElasticSearch ⚡ 🔍 ✨ Fast, typo tolerant, in-memory fuzzy Search Engine for building delightful search experiences

Cancel multiple runs

Jason Bosco7cac0f4f542d
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 5ce1215f..9af767db 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -2,6 +2,12 @@ name: tests
on: [push, pull_request]
+# Cancel previous running if a new push is made
+# Source: https://stackoverflow.com/a/72408109/123545
+concurrency:
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
+ cancel-in-progress: true
+
jobs:
build_and_test:
runs-on: ubuntu-latest
@@ -15,7 +21,7 @@ jobs:
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt-get update
- sudo apt install -y g++-10 make git zlib1g-dev m4
+ sudo apt-get install -y g++-10 make git zlib1g-dev m4
# Define the compiler
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 30
@@ -29,7 +35,7 @@ jobs:
# Install CUDA
- wget https://developer.download.nvidia.com/compute/cuda/11.8.0/local_installers/cuda_11.8.0_520.61.05_linux.run
+ wget --no-verbose https://developer.download.nvidia.com/compute/cuda/11.8.0/local_installers/cuda_11.8.0_520.61.05_linux.run
bash cuda_11.8.0_520.61.05_linux.run
rm cuda_11.8.0_520.61.05_linux.run