-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: upgrade go and actions versions (#46)
While there, make sure we can build the docker container by adding a new github action that checks for that. Closes #48.
- Loading branch information
1 parent
065549b
commit ee9b0a0
Showing
8 changed files
with
96 additions
and
171 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
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,15 @@ | ||
# Make sure we can build the docker container | ||
name: docker | ||
on: | ||
pull_request: | ||
push: | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- run: make buildcontainer |
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
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 |
---|---|---|
@@ -1,27 +1,27 @@ | ||
module github.com/neubot/dash | ||
|
||
go 1.20 | ||
go 1.23.1 | ||
|
||
require ( | ||
github.com/apex/log v1.9.0 | ||
github.com/google/uuid v1.3.0 | ||
github.com/gorilla/handlers v1.5.1 | ||
github.com/m-lab/go v0.1.53 | ||
github.com/google/uuid v1.6.0 | ||
github.com/gorilla/handlers v1.5.2 | ||
github.com/m-lab/go v0.1.73 | ||
github.com/m-lab/ndt5-client-go v0.1.0 | ||
) | ||
|
||
require ( | ||
github.com/araddon/dateparse v0.0.0-20210429162001-6b43995a97de // indirect | ||
github.com/beorn7/perks v1.0.1 // indirect | ||
github.com/cespare/xxhash/v2 v2.1.2 // indirect | ||
github.com/felixge/httpsnoop v1.0.3 // indirect | ||
github.com/golang/protobuf v1.5.2 // indirect | ||
github.com/matttproud/golang_protobuf_extensions v1.0.2 // indirect | ||
github.com/cespare/xxhash/v2 v2.3.0 // indirect | ||
github.com/felixge/httpsnoop v1.0.4 // indirect | ||
github.com/klauspost/compress v1.17.9 // indirect | ||
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect | ||
github.com/pkg/errors v0.9.1 // indirect | ||
github.com/prometheus/client_golang v1.13.0 // indirect | ||
github.com/prometheus/client_model v0.2.0 // indirect | ||
github.com/prometheus/common v0.37.0 // indirect | ||
github.com/prometheus/procfs v0.8.0 // indirect | ||
golang.org/x/sys v0.0.0-20220926163933-8cfa568d3c25 // indirect | ||
google.golang.org/protobuf v1.33.0 // indirect | ||
github.com/prometheus/client_golang v1.20.3 // indirect | ||
github.com/prometheus/client_model v0.6.1 // indirect | ||
github.com/prometheus/common v0.59.1 // indirect | ||
github.com/prometheus/procfs v0.15.1 // indirect | ||
golang.org/x/sys v0.25.0 // indirect | ||
google.golang.org/protobuf v1.34.2 // indirect | ||
) |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash | ||
set -euxo pipefail | ||
docker build -t neubot/dash . | ||
docker tag neubot/dash neubot/dash:$(git describe --tags --dirty)-$(date -u +%Y%m%d%H%M%S) | ||
docker tag neubot/dash "neubot/dash:$(git describe --tags --dirty)-$(date -u +%Y%m%d%H%M%S)" |
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