@@ -11,14 +11,14 @@ jobs:
1111 os : [ubuntu-latest, windows-latest]
1212 runs-on : ${{ matrix.os }}
1313 steps :
14+ - name : Check out code into the Go module directory
15+ uses : actions/checkout@v6
16+
1417 - name : Set up Go
15- uses : actions/setup-go@v2
18+ uses : actions/setup-go@v6
1619 with :
1720 go-version : 1.21.4
1821
19- - name : Check out code into the Go module directory
20- uses : actions/checkout@v2
21-
2222 - name : Download GQL schema
2323 run : " npx graphqurl https://api.ficsit.dev/v2/query --introspect -H 'content-type: application/json' > schema.graphql"
2424
3030 env :
3131 CGO_ENABLED : 1
3232
33- - uses : actions/upload-artifact@v4
33+ - uses : actions/upload-artifact@v7
3434 with :
3535 name : cli-${{ matrix.os }}
3636 path : ficsit-cli
@@ -39,26 +39,24 @@ jobs:
3939 name : Lint
4040 runs-on : ubuntu-latest
4141 steps :
42+ - name : Check out code into the Go module directory
43+ uses : actions/checkout@v6
44+
4245 - name : Set up Go
43- uses : actions/setup-go@v2
46+ uses : actions/setup-go@v6
4447 with :
4548 go-version : 1.21.4
4649
47- - name : Check out code into the Go module directory
48- uses : actions/checkout@v2
49-
5050 - name : Download GQL schema
5151 run : " npx graphqurl https://api.ficsit.dev/v2/query --introspect -H 'content-type: application/json' > schema.graphql"
5252
5353 - name : Go Generate
5454 run : go generate -tags tools -x ./...
5555
5656 - name : golangci-lint
57- uses : golangci/golangci-lint-action@v2
57+ uses : golangci/golangci-lint-action@v6.4.1
5858 with :
5959 version : v1.62.2
60- skip-pkg-cache : true
61- skip-build-cache : true
6260
6361 test :
6462 name : Test
@@ -68,19 +66,22 @@ jobs:
6866 os : [ubuntu-latest, windows-latest]
6967 runs-on : ${{ matrix.os }}
7068 steps :
69+ - name : Check out code into the Go module directory
70+ uses : actions/checkout@v6
71+
7172 - name : Set up Go
72- uses : actions/setup-go@v2
73+ uses : actions/setup-go@v6
7374 with :
7475 go-version : 1.21.4
7576
76- - name : Check out code into the Go module directory
77- uses : actions/checkout@v2
78-
7977 - name : Setup steamcmd
8078 uses : CyberAndrii/setup-steamcmd@v1
8179
8280 - name : Install Satisfactory Dedicated Server
83- run : steamcmd +login anonymous +force_install_dir ${{ github.workspace }}/SatisfactoryDedicatedServer +app_update 1690800 validate +quit
81+ run : |
82+ # Run steamcmd twice to work around some weird caching/out of order execution issue that causes steamcmd to fail to download the app on the first try
83+ steamcmd +login anonymous +app_info_update 1 validate +quit
84+ steamcmd +force_install_dir "${{ github.workspace }}/SatisfactoryDedicatedServer" +login anonymous +app_update 1690800 validate +quit
8485
8586 - name : Change directory permissions
8687 if : ${{ matrix.os == 'ubuntu-latest' }}
0 commit comments