mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-19 09:04:41 +04:00
Merge pull request #3011 from hack3ric/bump-node-and-go-version
Bump Node.js version to 18.14.0 and Go to 1.21.1
This commit is contained in:
commit
3f3760b86c
2 changed files with 3 additions and 3 deletions
|
|
@ -111,11 +111,11 @@ def test_golang_versioned(tmp_path):
|
||||||
tmp_path,
|
tmp_path,
|
||||||
golang,
|
golang,
|
||||||
'go version',
|
'go version',
|
||||||
version='1.18.4',
|
version='1.21.1',
|
||||||
)
|
)
|
||||||
|
|
||||||
assert ret == 0
|
assert ret == 0
|
||||||
assert out.startswith(b'go version go1.18.4')
|
assert out.startswith(b'go version go1.21.1')
|
||||||
|
|
||||||
|
|
||||||
def test_local_golang_additional_deps(tmp_path):
|
def test_local_golang_additional_deps(tmp_path):
|
||||||
|
|
|
||||||
|
|
@ -139,7 +139,7 @@ def test_node_with_user_config_set(tmp_path):
|
||||||
test_node_hook_system(tmp_path)
|
test_node_hook_system(tmp_path)
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.parametrize('version', (C.DEFAULT, '18.13.0'))
|
@pytest.mark.parametrize('version', (C.DEFAULT, '18.14.0'))
|
||||||
def test_node_hook_versions(tmp_path, version):
|
def test_node_hook_versions(tmp_path, version):
|
||||||
_make_hello_world(tmp_path)
|
_make_hello_world(tmp_path)
|
||||||
ret = run_language(tmp_path, node, 'node-hello', version=version)
|
ret = run_language(tmp_path, node, 'node-hello', version=version)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue