From d198b46c429ff648126973b8dace13fa88f9f241 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 22 Apr 2025 07:20:43 +0000 Subject: [PATCH 1/3] chore(deps): bump github.com/codecrafters-io/tester-utils Bumps [github.com/codecrafters-io/tester-utils](https://github.com/codecrafters-io/tester-utils) from 0.2.40 to 0.3.1. - [Commits](https://github.com/codecrafters-io/tester-utils/compare/v0.2.40...v0.3.1) --- updated-dependencies: - dependency-name: github.com/codecrafters-io/tester-utils dependency-version: 0.3.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- go.mod | 5 +++-- go.sum | 8 ++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/go.mod b/go.mod index d57af864..adf32cb2 100644 --- a/go.mod +++ b/go.mod @@ -1,10 +1,11 @@ module github.com/codecrafters-io/shell-tester go 1.23 +toolchain go1.24.1 require ( github.com/charmbracelet/x/vt v0.0.0-20250122132629-a969ddeb820d - github.com/codecrafters-io/tester-utils v0.2.40 + github.com/codecrafters-io/tester-utils v0.3.1 github.com/creack/pty v1.1.24 github.com/fatih/color v1.18.0 go.chromium.org/luci v0.0.0-20250121063825-c52dc0e17e8c @@ -26,7 +27,7 @@ require ( github.com/rivo/uniseg v0.4.7 // indirect github.com/rogpeppe/go-internal v1.13.1 // indirect github.com/stretchr/testify v1.10.0 // indirect - golang.org/x/sys v0.29.0 // indirect + golang.org/x/sys v0.32.0 // indirect golang.org/x/text v0.21.0 // indirect gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect gopkg.in/yaml.v2 v2.4.0 // indirect diff --git a/go.sum b/go.sum index 674d9198..55aba6b4 100644 --- a/go.sum +++ b/go.sum @@ -4,8 +4,8 @@ github.com/charmbracelet/x/vt v0.0.0-20250122132629-a969ddeb820d h1:cIxw4y+aEGux github.com/charmbracelet/x/vt v0.0.0-20250122132629-a969ddeb820d/go.mod h1:RB6f81fnGXyFGRenuO1fMdTlBh0Dbp/0+jwiMtgZvJw= github.com/charmbracelet/x/wcwidth v0.0.0-20250122132629-a969ddeb820d h1:tMt1myDNfJtCBwq0I8lZzpqeWxU3M+E6LTzn49jhU+A= github.com/charmbracelet/x/wcwidth v0.0.0-20250122132629-a969ddeb820d/go.mod h1:o8SjyUvrtemTqzPFlDzT1aWmDjO5lhVdgoudwVwcZjc= -github.com/codecrafters-io/tester-utils v0.2.40 h1:5YIQjgenDbLf5HH0hhqN0jumBGnbrjXdR0DryaKUu/I= -github.com/codecrafters-io/tester-utils v0.2.40/go.mod h1:VgP0WmmRsA8L1urWGMXPW4Zv5jcwHwR0LdKZ8ZAEFT4= +github.com/codecrafters-io/tester-utils v0.3.1 h1:Tpdy6g0o3L9uKI2+UlFezCEVNKF/CLnf8kWkq64i42I= +github.com/codecrafters-io/tester-utils v0.3.1/go.mod h1:Fyrv4IebzjWtvKfpYf8ooYDoOtjYe2qx8bV7KAJpX+w= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/creack/pty v1.1.24 h1:bJrF4RRfyJnbTJqzRLHzcGaZK1NeM5kTC9jGgovnR1s= github.com/creack/pty v1.1.24/go.mod h1:08sCNb52WyoAwi2QDyzUCTgcvVFhUzewun7wtTfvcwE= @@ -47,8 +47,8 @@ go.chromium.org/luci v0.0.0-20250121063825-c52dc0e17e8c/go.mod h1:UNQrWxA+CmMaBq golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 h1:2dVuKD2vS7b0QIHQbpyTISPd0LeHDbnYEryqj5Q1ug8= golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56/go.mod h1:M4RDyNAINzryxdtnbRXRL/OHtkFuWGRjvuhBJpk2IlY= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.29.0 h1:TPYlXGxvx1MGTn2GiZDhnjPA9wZzZeGKHHmKhHYvgaU= -golang.org/x/sys v0.29.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.32.0 h1:s77OFDvIQeibCmezSnk/q6iAfkdiQaJi4VzroCFrN20= +golang.org/x/sys v0.32.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k= golang.org/x/term v0.28.0 h1:/Ts8HFuMR2E6IP/jlo7QVLZHggjKQbhu/7H0LJFr3Gg= golang.org/x/term v0.28.0/go.mod h1:Sw/lC2IAUZ92udQNf3WodGtn4k/XoLyZoh8v/8uiwek= golang.org/x/text v0.21.0 h1:zyQAAkrwaneQ066sspRyJaG9VNi/YJ1NfzcGB3hZ/qo= From 87a7e320b3429e66b9ef5f71c7d874b56a8ca53f Mon Sep 17 00:00:00 2001 From: Ryan Gang Date: Tue, 22 Apr 2025 14:43:59 +0530 Subject: [PATCH 2/3] chore: update Go version to 1.24 in go.mod --- go.mod | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/go.mod b/go.mod index adf32cb2..68bd5148 100644 --- a/go.mod +++ b/go.mod @@ -1,7 +1,6 @@ module github.com/codecrafters-io/shell-tester -go 1.23 -toolchain go1.24.1 +go 1.24 require ( github.com/charmbracelet/x/vt v0.0.0-20250122132629-a969ddeb820d From 30d486eb8c5596860b4b902b6c33dba637fea386 Mon Sep 17 00:00:00 2001 From: Ryan Gang Date: Tue, 22 Apr 2025 14:46:04 +0530 Subject: [PATCH 3/3] chore: update GitHub Actions to use Go 1.24 and checkout action v4 --- .github/workflows/test.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 75d2741e..cadab537 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,30 +7,30 @@ jobs: runs-on: ubuntu-24.04 steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.23.x + go-version: 1.24.x - name: setup-env run: | sudo apt remove bpfcc-tools bash --version uname -a compgen -ac | sort | grep '^ex' - + - run: make tests_excluding_ash lint: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v1 + uses: actions/setup-go@v5 with: - go-version: 1.23.x + go-version: 1.24.x - uses: dominikh/staticcheck-action@v1.3.1 with: @@ -52,11 +52,11 @@ jobs: shell: alpine.sh --root {0} - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup git config run: | - git config --global --add safe.directory /home/runner/work/shell-tester/shell-tester + git config --global --add safe.directory /home/runner/work/shell-tester/shell-tester # repo is owned by user and we intend to execute as root shell: alpine.sh --root {0} @@ -93,11 +93,11 @@ jobs: shell: alpine.sh --root {0} - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup git config run: | - git config --global --add safe.directory /home/runner/work/shell-tester/shell-tester + git config --global --add safe.directory /home/runner/work/shell-tester/shell-tester # repo is owned by user and we intend to execute as root shell: alpine.sh --root {0} @@ -110,12 +110,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v1 + uses: actions/setup-go@v5 with: - go-version: 1.23.x + go-version: 1.24.x - name: setup-env run: |