-
Notifications
You must be signed in to change notification settings - Fork 215
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Artur Troian <[email protected]>
- Loading branch information
Showing
4 changed files
with
132 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
name: setup-ubuntu | ||
on: | ||
workflow_call: | ||
secrets: | ||
GITHUB_TOKEN: | ||
required: true | ||
|
||
job: | ||
setup-repo: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Install dependencies | ||
run: sudo apt install -y make direnv unzip lz4 wget curl npm jq pv coreutils | ||
- name: Install git-cliff | ||
uses: baptiste0928/cargo-install@v3 | ||
with: | ||
crate: git-cliff | ||
- name: Detect required Go version | ||
run: | | ||
toolchain=$(./script/tools.sh gotoolchain | sed 's/go*//') | ||
echo "GOVERSION=${toolchain}" >> $GITHUB_ENV | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: "${{ env.GOVERSION }}" | ||
check-latest: true | ||
- name: set environment | ||
uses: HatsuneMiku3939/direnv-action@v1 | ||
with: | ||
masks: '' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters