Skip to content

Commit

Permalink
chore(golang): pin to 1.13.15 (#157)
Browse files Browse the repository at this point in the history
chore(packr2): pin to v2.0.0

chore(actions/checkout): pin to v3

chore(rumblefrog/setup-sp): pin to v1.2.2

chore(server/nodejs): pin to 18.4.0

chore(doc/nodejs): pin to 12.22.12

chore(actions/setup-node): pin to v3

chore(actions/upload-artifact): pin to v3
  • Loading branch information
maxime1907 authored Jan 28, 2024
1 parent 2561c4a commit 2bd8aff
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,20 @@ jobs:

steps:
- name: Checkout source
uses: actions/checkout@master
uses: actions/checkout@v3

- name: Set version env
run: echo ::set-env name=SCRVER::$(git describe --always --long --dirty)

- name: Install Golang
uses: actions/setup-go@v1
uses: actions/setup-go@v4
with:
go-version: "1.13.x"
go-version: "1.13.15"

- name: Install NodeJS
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: "12.x"
node-version: "18.4.0"

- name: Export bin paths
run: |
Expand All @@ -44,7 +44,7 @@ jobs:
run: curl https://github.com/golang/dep/master/install.sh | sh

- name: Install Packr2
run: go get -u -v github.com/gobuffalo/packr/v2/packr2
run: go get github.com/gobuffalo/packr/v2/packr2@v2.6.0

- name: Install UPX
run: |
Expand All @@ -61,7 +61,7 @@ jobs:
- name: Install server dependencies
working-directory: server
run: go get -u
run: go get

- name: Pack UI files
working-directory: server
Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:
go build -ldflags "-s -w -X github.com/rumblefrog/source-chat-relay/server/config.SCRVER=$SCRVER -extldflags '-static'" -o build/windows-server
- name: Upload server artifact
uses: actions/upload-artifact@master
uses: actions/upload-artifact@v3
with:
name: Server
path: server/build/
Expand All @@ -104,14 +104,14 @@ jobs:

steps:
- name: Checkout source
uses: actions/checkout@master
uses: actions/checkout@v3

- name: Set version env
run: echo ::set-env name=SCRVER::$(git describe --always --long --dirty)

- name: Setup SourcePawn Compiler ${{ matrix.sm-version }}
id: setup-sp
uses: rumblefrog/setup-sp@master
uses: rumblefrog/setup-sp@v1.2.2
with:
version: ${{ matrix.sm-version }}

Expand All @@ -136,7 +136,7 @@ jobs:

- name: Upload plugin artifact
if: matrix.sm-version == '1.10.x'
uses: actions/upload-artifact@master
uses: actions/upload-artifact@v3
with:
name: Plugin
path: build/
Expand All @@ -146,12 +146,12 @@ jobs:

steps:
- name: Checkout source
uses: actions/checkout@master
uses: actions/checkout@v3

- name: Install NodeJS
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: "12.x"
node-version: "12.22.12"

- name: Export npm bin path
run: export PATH=$PATH:$(npm bin -g)
Expand Down

0 comments on commit 2bd8aff

Please sign in to comment.