-
Notifications
You must be signed in to change notification settings - Fork 210
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 <troian.ap@gmail.com>
- Loading branch information
Showing
4 changed files
with
193 additions
and
25 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,29 @@ | ||
--- | ||
name: setup-ubuntu | ||
runs: | ||
using: 'composite' | ||
steps: | ||
- name: Install dependencies | ||
# Shell must explicitly specify the shell for each step. https://github.com/orgs/community/discussions/18597 | ||
shell: bash | ||
run: sudo apt install -y make direnv unzip lz4 wget curl npm jq pv coreutils | ||
- name: Install git-cliff | ||
shell: bash | ||
uses: baptiste0928/cargo-install@v3 | ||
with: | ||
crate: git-cliff | ||
- name: Detect required Go version | ||
shell: bash | ||
run: | | ||
toolchain=$(./script/tools.sh gotoolchain | sed 's/go*//') | ||
echo "GOVERSION=${toolchain}" >> $GITHUB_ENV | ||
- uses: actions/setup-go@v5 | ||
shell: bash | ||
with: | ||
go-version: "${{ env.GOVERSION }}" | ||
check-latest: true | ||
- name: set environment | ||
shell: bash | ||
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