diff --git a/.github/dependabot.yml b/.github/dependabot.yml index d949faf..a83949b 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -33,3 +33,8 @@ updates: minor-updates: update-types: - "minor" + + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index d75f47f..6d271c8 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -12,16 +12,16 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up QEMU uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Log in to Docker Hub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKER_HUB_USERNAME }} password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} @@ -31,9 +31,9 @@ jobs: run: echo "TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV - name: Install Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: - go-version: 1.23.1 + go-version: 1.25 - name: Build and push Docker images run: | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6c8ec18..46704a1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,9 +14,9 @@ jobs: - uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: - go-version: '1.23' + go-version: '1.25' - name: Build go run: go build diff --git a/.go-version b/.go-version new file mode 100644 index 0000000..5e2b950 --- /dev/null +++ b/.go-version @@ -0,0 +1 @@ +1.25 diff --git a/Dockerfile b/Dockerfile index 9468ddd..d156d1a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.25.0-alpine AS builder +FROM golang:1.25-alpine AS builder # Set the working directory inside the container WORKDIR /app diff --git a/go.mod b/go.mod index 46d796e..72998d4 100644 --- a/go.mod +++ b/go.mod @@ -1,11 +1,10 @@ module github.com/fosrl/gerbil -go 1.23.1 - -toolchain go1.23.2 +go 1.25 require ( github.com/vishvananda/netlink v1.3.1 + golang.org/x/crypto v0.36.0 golang.zx2c4.com/wireguard/wgctrl v0.0.0-20230429144221-925a1e7659e6 ) @@ -16,7 +15,6 @@ require ( github.com/mdlayher/netlink v1.7.2 // indirect github.com/mdlayher/socket v0.4.1 // indirect github.com/vishvananda/netns v0.0.5 // indirect - golang.org/x/crypto v0.36.0 // indirect golang.org/x/net v0.38.0 // indirect golang.org/x/sync v0.1.0 // indirect golang.org/x/sys v0.31.0 // indirect