Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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}

Expand Down Expand Up @@ -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}

Expand All @@ -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: |
Expand Down
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
module github.com/codecrafters-io/shell-tester

go 1.23
go 1.24

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
Expand All @@ -26,7 +26,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
Expand Down
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down Expand Up @@ -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=
Expand Down
Loading