Replace setup-go/setup-node actions with manual install for Gitea runner compatibility
This commit is contained in:
@@ -19,9 +19,9 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Setup Go
|
- name: Setup Go
|
||||||
uses: actions/setup-go@v5
|
run: |
|
||||||
with:
|
curl -sL https://go.dev/dl/go1.23.6.linux-amd64.tar.gz | tar -C /usr/local -xz
|
||||||
go-version: "1.23"
|
echo "/usr/local/go/bin" >> $GITHUB_PATH
|
||||||
|
|
||||||
- name: Run backend tests
|
- name: Run backend tests
|
||||||
run: go test ./...
|
run: go test ./...
|
||||||
@@ -32,9 +32,9 @@ jobs:
|
|||||||
working-directory: ./go-backend
|
working-directory: ./go-backend
|
||||||
|
|
||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@v4
|
run: |
|
||||||
with:
|
curl -sL https://deb.nodesource.com/setup_22.x | bash -
|
||||||
node-version: "22"
|
apt-get install -y nodejs
|
||||||
|
|
||||||
- name: Install frontend deps
|
- name: Install frontend deps
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|||||||
Reference in New Issue
Block a user