Skip to content

Commit

Permalink
Remove use of readlink (#16)
Browse files Browse the repository at this point in the history
* Remove use of `readlink`
---------
Signed-off-by: Gabriele Santomaggio <[email protected]>
Co-authored-by: Gabriele Santomaggio <[email protected]>
  • Loading branch information
lukebakken authored Jul 4, 2024
1 parent e7ef6cc commit edfd006
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .ci/ubuntu/gha-setup.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash

set -o errexit
set -o pipefail
Expand All @@ -21,7 +21,7 @@ if [[ -d $GITHUB_WORKSPACE ]]
then
echo "[INFO] GITHUB_WORKSPACE is set: '$GITHUB_WORKSPACE'"
else
GITHUB_WORKSPACE="$(readlink --canonicalize-existing "$script_dir/../..")"
GITHUB_WORKSPACE="$(cd "$script_dir/../.." && pwd)"
echo "[INFO] set GITHUB_WORKSPACE to: '$GITHUB_WORKSPACE'"
fi

Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -125,3 +125,7 @@ Tests/coverage.*

# docs
docs/temp/

# ci logs
.ci/ubuntu/log/*

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This library is in early stages of development. It is meant to be used with Rabb

## How to Run

- Start the broker with `./.ci/ubuntu/gha-setup.sh`. Note that this has been tested on Ubuntu 22 with docker.
- Start the broker with `./.ci/ubuntu/gha-setup.sh start`. Note that this has been tested on Ubuntu 22 with docker.
- Run the tests with ` dotnet test ./Build.csproj --logger "console;verbosity=detailed" /p:AltCover=true`
- Stop RabbitMQ with `./.ci/ubuntu/gha-setup.sh stop`

Expand Down

0 comments on commit edfd006

Please sign in to comment.