-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
63f12e0
commit dbfcb64
Showing
3 changed files
with
42 additions
and
48 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,38 @@ | ||
name: Setup Repository | ||
description: Setup Repository and Install dependencies | ||
|
||
runs: | ||
using: composite | ||
|
||
steps: | ||
- name: Checkout Source Code | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Configure Git | ||
shell: bash | ||
run: | | ||
git config user.name "${GITHUB_ACTOR}" | ||
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com" | ||
- name: Setup ENV Vars | ||
shell: bash | ||
run: | | ||
echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV | ||
echo "NODE_VERSION=$(cat .node-version)" >> $GITHUB_ENV | ||
- name: Setup Node Stuff | ||
uses: ./.github/actions/setup-node | ||
with: | ||
node-version: ${{ env.NODE_VERSION }} | ||
|
||
- name: Setup Go Stuff | ||
uses: ./.github/actions/setup-go | ||
with: | ||
go-version: "1.21.5" | ||
|
||
- name: Install Additional Dependencies | ||
shell: bash | ||
run: | | ||
go install github.com/josephspurrier/goversioninfo/cmd/goversioninfo@latest |
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