Skip to content

Commit 1a79a44

Browse files
committed
update go; futureproof language
1 parent 9ddb2ca commit 1a79a44

File tree

8 files changed

+45
-36
lines changed

8 files changed

+45
-36
lines changed

.github/workflows/audit.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,13 @@ on: # yamllint disable-line rule:truthy
88
jobs:
99
Audit:
1010
runs-on: "ubuntu-24.04"
11-
env:
12-
GOPATH: "/home/runner/go"
1311
steps:
14-
- run: "echo \"/usr/local/go/bin\" >> \"$GITHUB_PATH\""
15-
- run: "echo \"${GOPATH}/bin\" >> \"$GITHUB_PATH\""
12+
- uses: actions/setup-go@v5
13+
with:
14+
go-version: '1.23.3'
1615
- uses: "actions/checkout@v4"
1716
- run: "sudo apt-get update"
1817
- run: "sudo apt-get install -y cargo curl"
19-
- run: "curl -LO https://go.dev/dl/go1.23.2.linux-amd64.tar.gz"
20-
- run: "sudo tar -C /usr/local -xzf go1.23.2.linux-amd64.tar.gz"
2118
- run: "curl -LO https://downloads.snyk.io/cli/stable/snyk-linux"
2219
- run: "sudo cp snyk-linux /bin/snyk"
2320
- run: "sudo chmod a+x /bin/snyk"

.github/workflows/lint.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,12 @@ on: # yamllint disable-line rule:truthy
66
jobs:
77
Lint:
88
runs-on: "ubuntu-24.04"
9-
env:
10-
GOPATH: "/home/runner/go"
119
steps:
12-
- run: "echo \"/usr/local/go/bin\" >> \"$GITHUB_PATH\""
13-
- run: "echo \"${GOPATH}/bin\" >> \"$GITHUB_PATH\""
10+
- uses: actions/setup-go@v5
11+
with:
12+
go-version: '1.23.3'
1413
- uses: "actions/checkout@v4"
1514
- run: "sudo apt-get update"
16-
- run: "sudo apt-get install -y cargo curl"
17-
- run: "curl -LO https://go.dev/dl/go1.23.2.linux-amd64.tar.gz"
18-
- run: "sudo tar -C /usr/local -xzf go1.23.2.linux-amd64.tar.gz"
15+
- run: "sudo apt-get install -y cargo"
1916
- run: "make -j 4"
2017
- run: "mage lint"

.github/workflows/test-crosscompile.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,12 @@ on: # yamllint disable-line rule:truthy
66
jobs:
77
Test-Crosscompile:
88
runs-on: "ubuntu-24.04"
9-
env:
10-
GOPATH: "/home/runner/go"
119
steps:
12-
- run: "echo \"/usr/local/go/bin\" >> \"$GITHUB_PATH\""
13-
- run: "echo \"${GOPATH}/bin\" >> \"$GITHUB_PATH\""
10+
- uses: actions/setup-go@v5
11+
with:
12+
go-version: '1.23.3'
1413
- uses: "actions/checkout@v4"
1514
- run: "sudo apt-get update"
16-
- run: "sudo apt-get install -y cargo curl"
17-
- run: "curl -LO https://go.dev/dl/go1.23.2.linux-amd64.tar.gz"
18-
- run: "sudo tar -C /usr/local -xzf go1.23.2.linux-amd64.tar.gz"
15+
- run: "sudo apt-get install -y cargo"
1916
- run: "make -j 4 go"
2017
- run: "mage port"
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
name: "Test-Futureproof-Language"
3+
on: # yamllint disable-line rule:truthy
4+
push:
5+
pull_request:
6+
# POSIX cron format
7+
# https://pubs.opengroup.org/onlinepubs/9699919799/utilities/crontab.html
8+
schedule:
9+
# Once every 5 minutes
10+
# - cron: "*/5 * * * *"
11+
# Once a day
12+
- cron: "0 0 * * *"
13+
jobs:
14+
Test-Futureproof-Language:
15+
runs-on: "ubuntu-24.04"
16+
steps:
17+
- uses: actions/setup-go@v5
18+
with:
19+
go-version: 'stable'
20+
- uses: "actions/checkout@v4"
21+
- run: "sudo apt-get update"
22+
- run: "sudo apt-get install -y cargo"
23+
- run: "make -j 4 go"
24+
- run: "mage test"

.github/workflows/test-futureproof-os.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,12 @@ on: # yamllint disable-line rule:truthy
1313
jobs:
1414
Test-Futureproof-OS:
1515
runs-on: "ubuntu-latest"
16-
env:
17-
GOPATH: "/home/runner/go"
1816
steps:
19-
- run: "echo \"/usr/local/go/bin\" >> \"$GITHUB_PATH\""
20-
- run: "echo \"${GOPATH}/bin\" >> \"$GITHUB_PATH\""
17+
- uses: actions/setup-go@v5
18+
with:
19+
go-version: '1.23.3'
2120
- uses: "actions/checkout@v4"
2221
- run: "sudo apt-get update"
23-
- run: "sudo apt-get install -y cargo curl"
24-
- run: "curl -LO https://go.dev/dl/go1.23.2.linux-amd64.tar.gz"
25-
- run: "sudo tar -C /usr/local -xzf go1.23.2.linux-amd64.tar.gz"
22+
- run: "sudo apt-get install -y cargo"
2623
- run: "make -j 4 go"
2724
- run: "mage test"

.github/workflows/test.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,12 @@ on: # yamllint disable-line rule:truthy
66
jobs:
77
Test:
88
runs-on: "ubuntu-24.04"
9-
env:
10-
GOPATH: "/home/runner/go"
119
steps:
12-
- run: "echo \"/usr/local/go/bin\" >> \"$GITHUB_PATH\""
13-
- run: "echo \"${GOPATH}/bin\" >> \"$GITHUB_PATH\""
10+
- uses: actions/setup-go@v5
11+
with:
12+
go-version: '1.23.3'
1413
- uses: "actions/checkout@v4"
1514
- run: "sudo apt-get update"
16-
- run: "sudo apt-get install -y cargo curl"
17-
- run: "curl -LO https://go.dev/dl/go1.23.2.linux-amd64.tar.gz"
18-
- run: "sudo tar -C /usr/local -xzf go1.23.2.linux-amd64.tar.gz"
15+
- run: "sudo apt-get install -y cargo"
1916
- run: "make -j 4 go"
2017
- run: "mage test"

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
golang 1.23.2
1+
golang 1.23.3
22
rust 1.75.0

DEVELOPMENT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# BUILDTIME REQUIREMENTS
22

33
* [Docker](https://www.docker.com/) 20.10.12+
4-
* [Go](https://go.dev/) 1.23.2+
4+
* [Go](https://go.dev/) 1.23.3+
55
* [GNU](https://www.gnu.org/software/make/) / [BSD](https://man.freebsd.org/cgi/man.cgi?make(1)) make
66
* [Rust](https://www.rust-lang.org/) 1.75.0+
77
* [Snyk](https://snyk.io/)

0 commit comments

Comments
 (0)